From 46675560d29883fa13a897234ba5f893d48a2c2a Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Tue, 18 Jul 2023 20:18:58 +0100 Subject: [PATCH] Fix smoke alarm detection in tuya (#96475) --- homeassistant/components/tuya/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/tuya/binary_sensor.py b/homeassistant/components/tuya/binary_sensor.py index 06cb7958242..a392a338aba 100644 --- a/homeassistant/components/tuya/binary_sensor.py +++ b/homeassistant/components/tuya/binary_sensor.py @@ -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, ),