mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Adjust Tuya Water Detector to support 1 as an alarm state (#135933)
This commit is contained in:
parent
97bf557b32
commit
509add8e5c
@ -256,7 +256,7 @@ BINARY_SENSORS: dict[str, tuple[TuyaBinarySensorEntityDescription, ...]] = {
|
||||
TuyaBinarySensorEntityDescription(
|
||||
key=DPCode.WATERSENSOR_STATE,
|
||||
device_class=BinarySensorDeviceClass.MOISTURE,
|
||||
on_value="alarm",
|
||||
on_value={"1", "alarm"},
|
||||
),
|
||||
TAMPER_BINARY_SENSOR,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user