mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Adding "peaceful" status as on value to Tuya Presence Sensor (#129925)
This commit is contained in:
parent
25eb7173bf
commit
4dbf3359c1
@ -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…
x
Reference in New Issue
Block a user