mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Fix smoke alarm detection in tuya (#96475)
This commit is contained in:
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…
x
Reference in New Issue
Block a user