Adding "peaceful" status as on value to Tuya Presence Sensor (#129925)
parent
26d8d5343a
commit
361e0d4fc7
|
@ -151,7 +151,7 @@ BINARY_SENSORS: dict[str, tuple[TuyaBinarySensorEntityDescription, ...]] = {
|
||||||
TuyaBinarySensorEntityDescription(
|
TuyaBinarySensorEntityDescription(
|
||||||
key=DPCode.PRESENCE_STATE,
|
key=DPCode.PRESENCE_STATE,
|
||||||
device_class=BinarySensorDeviceClass.OCCUPANCY,
|
device_class=BinarySensorDeviceClass.OCCUPANCY,
|
||||||
on_value={"presence", "small_move", "large_move"},
|
on_value={"presence", "small_move", "large_move", "peaceful"},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
# Formaldehyde Detector
|
# Formaldehyde Detector
|
||||||
|
|
Loading…
Reference in New Issue