Fix smoke alarm detection in tuya (#96475)
parent
36b4b5b887
commit
46675560d2
|
@ -318,7 +318,7 @@ BINARY_SENSORS: dict[str, tuple[TuyaBinarySensorEntityDescription, ...]] = {
|
|||
TuyaBinarySensorEntityDescription(
|
||||
key=DPCode.SMOKE_SENSOR_STATE,
|
||||
device_class=BinarySensorDeviceClass.SMOKE,
|
||||
on_value="1",
|
||||
on_value={"1", "alarm"},
|
||||
),
|
||||
TAMPER_BINARY_SENSOR,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue