Skip to content

Commit

Permalink
Fix decoupled mode in single wall switch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Nov 15, 2020
1 parent 21ca38b commit 681cf90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions custom_components/xiaomi_gateway3/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
['0.12.85', 'load_power', 'power', 'sensor'],
['0.13.85', None, 'consumption', 'sensor'],
['4.1.85', 'neutral_0', 'switch', 'switch'], # or channel_0?
['13.1.85', None, 'action', 'sensor'],
['13.1.85', None, 'button', None],
[None, None, 'action', 'sensor'],
]
}, {
# dual channel on/off, power measurement
Expand All @@ -88,7 +89,8 @@
'lumi.switch.b1lacn02': ["Aqara", "D1 Wall Single Switch", "QBKG21LM"],
'params': [
['4.1.85', 'channel_0', 'switch', 'switch'], # or neutral_0?
['13.1.85', None, 'action', 'sensor'],
['13.1.85', None, 'button', None],
[None, None, 'action', 'sensor'],
]
}, {
# dual channel on/off
Expand Down

0 comments on commit 681cf90

Please sign in to comment.