Skip to content

Commit

Permalink
Fix led switch for 090615.switch.aidh1 and 090615.switch.aidh2 #1527
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Dec 28, 2024
1 parent 05ec3c3 commit c506985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,7 @@
BaseConv("channel_2", "switch", mi="3.p.1"),
BoolConv("wireless", "switch", mi="2.p.2"), # config
BoolConv("wireless", "switch", mi="3.p.2"), # config
BoolConv("led", "switch", mi="9.p.1"), # config
BaseConv("led", "switch", mi="9.p.1"), # config
BaseConv("action", "sensor", entity=ENTITY_DISABLED),
ConstConv("action", mi="6.e.1", value=BUTTON_1_SINGLE),
ConstConv("action", mi="7.e.1", value=BUTTON_2_SINGLE),
Expand All @@ -2837,7 +2837,7 @@
"spec": [
BaseConv("switch", "switch", mi="2.p.1"),
BoolConv("wireless", "switch", mi="2.p.2"), # config
BoolConv("led", "switch", mi="9.p.1"), # config
BaseConv("led", "switch", mi="9.p.1"), # config
BaseConv("action", "sensor", entity=ENTITY_DISABLED),
ConstConv("action", mi="6.e.1", value=BUTTON_SINGLE),
],
Expand Down

0 comments on commit c506985

Please sign in to comment.