Skip to content

Commit

Permalink
Implement effect_list for pmfbj lights
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanKang committed Nov 8, 2023
1 parent 0a2b462 commit 0e0c7bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/xiaomi_gateway3/core/converters/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -3102,8 +3102,8 @@
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=6500),
MapConv("mode", "select", mi="2.p.4", map={
0: "default", 1: "daily", 2: "leisure", 3: "comfortable", 4: "night", 5: "SY"
MapConv("effect", mi="2.p.4", parent="light", map={
0: "Default", 1: "Daily", 2: "Leisure", 3: "Comfortable", 4: "Night", 5: "SY"
})
]
}, {
Expand Down

0 comments on commit 0e0c7bb

Please sign in to comment.