The detector shall be mounted in accordance with the rules and regulations regarding the number and location of smoke detectors adopted by the State Fire Marshal. When activated, the detector shall provide an alarm in the dwelling unit, guest room, dormitory, or mobile home.