Skip to content

Commit

Permalink
Merge pull request #1462 from xiasi0/patch-1
Browse files Browse the repository at this point in the history
Add Linptech Human Presence Sensing Flat Panel Light
  • Loading branch information
AlexxIT authored Oct 27, 2024
2 parents 3f3eff5 + 312aa36 commit e1cb634
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -3164,6 +3164,15 @@
BaseConv("backlight", "switch", mi="8.p.1"),
BaseConv("led", "switch", mi="8.p.2"),
]
}, {
# https://home.miot-spec.com/spec/linp.light.lp1bc
19653: ["Linptech", "Human Presence-Sensing Flat Panel Light", "LP1", "linp.light.lp1bc"],
"spec": [
BaseConv("light", "light", mi="2.p.1"),
BrightnessConv("brightness", mi="2.p.2", max=100),
BoolConv("occupancy", "binary_sensor", mi="5.p.1"),
MathConv("illuminance", "sensor", mi="5.p.5"),
],
}, {
10939: ["Linptech", "Sliding Window Driver WD1", "WD1", "linp.wopener.wd1lb"],
"spec": [
Expand Down

0 comments on commit e1cb634

Please sign in to comment.