Skip to content

Commit

Permalink
Merge pull request #1492 from hi94740/add-shuse.flood.ss05
Browse files Browse the repository at this point in the history
Add support for shuse.flood.ss05
  • Loading branch information
AlexxIT authored Nov 17, 2024
2 parents a96b6d6 + 22f38ca commit 191056e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -2111,6 +2111,13 @@
BLELock("lock", mi=11),
BLEToothbrush("toothbrush", mi=16),
],
}, {
# https://home.miot-spec.com/spec/shuse.flood.ss05
19533: ["Shuse", "Water Leak Sensor", "shuse.flood.ss05"],
"spec": [
BaseConv("water_leak", "binary_sensor", mi="2.p.1006"),
BaseConv("battery", "sensor", mi="3.p.1003"),
],
}]

########################################################################################
Expand Down

0 comments on commit 191056e

Please sign in to comment.