Skip to content

Commit 4ee493d

Browse files
author
niceboy
committed
Add Aqara Single and Double Wall Switch H2
1 parent a9867f2 commit 4ee493d

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

  • custom_components/aqara_gateway/core

custom_components/aqara_gateway/core/utils.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@
344344
'lumi.light.acn024': ["Aqara", "Spotlight T2 (24 degree)", "LTSZNSD02LM"],
345345
'lumi.light.acn023': ["Aqara", "Spotlight T2 (15 degree)", "LTSZNSD01LM"],
346346
'lumi.light.acn131': ["Aqara", "Downlight T3", "LGYCDD02LM"],
347+
'lumi.light.acn132': ["Aqara", "Colorful Light Strip T3", "LGYCDD01LM"],
347348
'lumi.light.acn130': ["Aqara", "Spotlight T3 (36 degree)", "LGYCDD03LM"],
348349
'lumi.light.acn129': ["Aqara", "Spotlight T3 (24 degree)", "LGYCDD04LM"],
349350
'lumi.light.acn128': ["Aqara", "Spotlight T3", "LGYCDD05LM"],
@@ -1076,6 +1077,16 @@
10761077
['13.21.85', None, 'button_1', None],
10771078
[None, None, 'switch', 'binary_sensor'],
10781079
]
1080+
}, {
1081+
'lumi.switch.agl004': ["Aqara", "Single Wall Switch H2 US", "WS-K02E"],
1082+
'params': [
1083+
['0.12.85', 'load_power', 'power', 'sensor'],
1084+
['0.13.85', None, 'consumption', 'sensor'],
1085+
['4.1.85', 'channel_0', 'channel 1', 'switch'],
1086+
['4.4.85', 'channel_0_lock', 'channel 1 Lock', 'switch'],
1087+
['13.21.85', None, 'button_1', None],
1088+
[None, None, 'switch', 'binary_sensor'],
1089+
]
10791090
}, {
10801091
# with neutral wire
10811092
'lumi.switch.acn047': ["Aqara", "Double Wall Switch Z1", "ZNQBKG37LM"], # @justbin95
@@ -1089,6 +1100,19 @@
10891100
['13.22.85', None, 'button_2', None],
10901101
[None, None, 'switch', 'binary_sensor'],
10911102
]
1103+
}, {
1104+
'lumi.switch.agl005': ["Aqara", "Double Wall Switch H2 US", "WS-K03E"],
1105+
'params': [
1106+
['0.12.85', 'load_power', 'power', 'sensor'],
1107+
['0.13.85', None, 'consumption', 'sensor'],
1108+
['4.1.85', 'channel_0', 'channel 1', 'switch'],
1109+
['4.2.85', 'channel_1', 'channel 2', 'switch'],
1110+
['4.4.85', 'channel_0_lock', 'channel 1 Lock', 'switch'],
1111+
['4.5.85', 'channel_1_lock', 'channel 2 Lock', 'switch'],
1112+
['13.21.85', None, 'button_1', None],
1113+
['13.22.85', None, 'button_2', None],
1114+
[None, None, 'switch', 'binary_sensor'],
1115+
]
10921116
}, {
10931117
# with neutral wire
10941118
'lumi.switch.acn054': ["Aqara", "Triple Wall Switch Z1", "ZNQBKG40LM"], # @justbin95

0 commit comments

Comments
 (0)