Skip to content

Commit

Permalink
Add support xiaomi Motion Sensor 2s (XMPIRO25XS)
Browse files Browse the repository at this point in the history
  • Loading branch information
nesror authored Nov 1, 2023
1 parent de41d98 commit e6af266
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions custom_components/xiaomi_gateway3/core/converters/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,15 @@
EventConv("motion", mi="2.e.1008", value=True),
Converter("battery", mi="3.p.1003"),
],
}, {
13617: ["xiaomi", "Motion Sensor 2s", "XMPIRO25XS"],
"spec": [
MiBeacon, BLEMotion, BLEIlluminance, BLEBattery,
Converter("idle_time", "sensor", enabled=False),
Converter("illuminance", mi="2.p.1005"),
EventConv("motion", mi="2.e.1008", value=True),
Converter("battery", mi="3.p.1003"),
],
}, {
# https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:remote-control:0000A021:huca-wx8:1
12382: ["H+", "Wireless Button", "huca-wx8"],
Expand Down

0 comments on commit e6af266

Please sign in to comment.