Skip to content

Commit

Permalink
Fix brightness conv for multimode 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Mar 31, 2024
1 parent 9c9488e commit 176919d
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 @@ -113,7 +113,7 @@
BaseConv("data", "select"),

MapConv("led", "light", mi="6.p.1", map={0: True, 1: False}, entity=ENTITY_CONFIG), # dnd mode for mgl001
BaseConv("brightness", mi="6.p.3"), # works only for Multimode 2
BrightnessConv("brightness", mi="6.p.3"), # works only for Multimode 2

BaseConv("action", "sensor", entity=ENTITY_DISABLED),
ConstConv("action", mi="4.e.1", value=BUTTON_SINGLE),
Expand Down

0 comments on commit 176919d

Please sign in to comment.