It shall be unlawful for any person to give or cause to be given a false alarm with the intent to deceive, or to pull the slide of any stations or signal box, except in the case of fire. All fire alarms shall be maintained so not to cause undue false alarms.