Security fire-alarm switch