mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Initialize AlarmDecoder binary_sensor state as off instead of unknown (#65926)
This commit is contained in:
parent
abc73ff2e1
commit
cfd908218d
@ -77,6 +77,7 @@ class AlarmDecoderBinarySensor(BinarySensorEntity):
|
||||
self._zone_number = int(zone_number)
|
||||
self._zone_type = zone_type
|
||||
self._attr_name = zone_name
|
||||
self._attr_is_on = False
|
||||
self._rfid = zone_rfid
|
||||
self._loop = zone_loop
|
||||
self._relay_addr = relay_addr
|
||||
|
Loading…
x
Reference in New Issue
Block a user