Skip to content

Commit aeca76d

Browse files
authored
Add missing local power/energy clusters to old Aqara wall switches (#2778)
1 parent 4f5abdd commit aeca76d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zhaquirks/xiaomi/aqara/ctrl_ln.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
LUMI,
4444
AnalogInputCluster,
4545
BasicCluster,
46+
ElectricalMeasurementCluster,
47+
MeteringCluster,
4648
OnOffCluster,
4749
XiaomiCustomDevice,
4850
XiaomiPowerConfiguration,
@@ -145,6 +147,8 @@ class WallSwitchMultistateInputCluster(EventableCluster, MultistateInput):
145147
OnOffCluster,
146148
Time.cluster_id,
147149
BinaryOutput.cluster_id,
150+
ElectricalMeasurementCluster,
151+
MeteringCluster,
148152
],
149153
OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
150154
},

0 commit comments

Comments
 (0)