Skip to content

Commit

Permalink
Add led control for Multimode 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Mar 30, 2024
1 parent e2b38dd commit 1792ca3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,13 @@
# support change with remote.send_command
BaseConv("power_tx", mi="8.0.2012"),
BaseConv("channel", mi="8.0.2024"),
# other
BaseConv("pan_id", mi="8.0.2157"),

BaseConv("command", "select"),
BaseConv("data", "select"),

# GatewayStats
MapConv("led", "switch", mi="6.p.1", map={0: True, 1: False}), # dnd mode for mgl001
],
}]

Expand Down

0 comments on commit 1792ca3

Please sign in to comment.