Add leak sensor for UP Sense for UniFi Protect (#107762)
This commit is contained in:
parent
28b5104cda
commit
e595d24d78
2 changed files with 25 additions and 10 deletions
|
@ -259,6 +259,13 @@ SENSE_SENSORS: tuple[ProtectBinaryEntityDescription, ...] = (
|
|||
ufp_value="is_opened",
|
||||
ufp_enabled="is_contact_sensor_enabled",
|
||||
),
|
||||
ProtectBinaryEntityDescription(
|
||||
key="leak",
|
||||
name="Leak",
|
||||
device_class=BinarySensorDeviceClass.MOISTURE,
|
||||
ufp_value="is_leak_detected",
|
||||
ufp_enabled="is_leak_sensor_enabled",
|
||||
),
|
||||
ProtectBinaryEntityDescription(
|
||||
key="battery_low",
|
||||
name="Battery low",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue