Skip to content

Commit

Permalink
Fix power_on_state value for Aqara L1-350
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Nov 10, 2024
1 parent 5dac365 commit bf599b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@
BrightnessConv("brightness", mi="2.p.2"),
ColorTempKelvin("color_temp", mi="2.p.3"),
MapConv("mode", "select", mi="2.p.4", map={0: "day", 1: "reading", 2: "warm", 3: "tv", 4: "night"}),
MapConv("power_on_state", "select", mi="3.p.2", map={False: "off", True: "previous"}), # bool
MapConv("power_on_state", "select", mi="3.p.2", map={False: "on", True: "previous"}), # bool
],
}]

Expand Down

0 comments on commit bf599b2

Please sign in to comment.