mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 20:25:07 +02:00
Initialize AlarmDecoder binary_sensor state as off instead of unknown (#65926)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user