Skip to content

Commit

Permalink
Add Support for Yeelight Mesh Downlight Z1
Browse files Browse the repository at this point in the history
  • Loading branch information
justbin95 authored Oct 14, 2023
1 parent 8fda08b commit 711b660
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions custom_components/xiaomi_gateway3/core/converters/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1769,6 +1769,18 @@
15: "sleep"
})
]
}, {
15745: ["Yeelight", "Mesh Downlight Z1", "YCCSLI001"], # justbin95
"spec": [
Converter("light", "light", mi="2.p.1"),
BrightnessConv("brightness", mi="2.p.2", parent="light", max=100),
ColorTempKelvin("color_temp", mi="2.p.3", parent="light", mink=2700, maxk=6000),
MapConv("mode", "select", mi="2.p.7", map={
0: "WY", 4: "Lighting", 5: "Night Light", 7: "Warmth", 8: "TV", 9: "Reading", 10: "Computer",
11: "Hospitality", 12: "Entertainment", 13: "Wake Up", 14: "Dusk",
15: "Sleep", 16: "Mode-1", 17: "Mode-2", 18: "Mode-3", 19: "Mode-4"
})
]
}, {
12455: ["Yeelight", "K Series Single Wall Switch", "YLYKG-0025/0020"],
"spec": [
Expand Down

0 comments on commit 711b660

Please sign in to comment.