From aeca76da0ea81ecba5b17e0f7314620cd686faae Mon Sep 17 00:00:00 2001 From: TheJulianJES Date: Wed, 29 Nov 2023 05:28:37 +0100 Subject: [PATCH] Add missing local power/energy clusters to old Aqara wall switches (#2778) --- zhaquirks/xiaomi/aqara/ctrl_ln.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zhaquirks/xiaomi/aqara/ctrl_ln.py b/zhaquirks/xiaomi/aqara/ctrl_ln.py index 4be61fafce..d2033ae4d2 100644 --- a/zhaquirks/xiaomi/aqara/ctrl_ln.py +++ b/zhaquirks/xiaomi/aqara/ctrl_ln.py @@ -43,6 +43,8 @@ LUMI, AnalogInputCluster, BasicCluster, + ElectricalMeasurementCluster, + MeteringCluster, OnOffCluster, XiaomiCustomDevice, XiaomiPowerConfiguration, @@ -145,6 +147,8 @@ class WallSwitchMultistateInputCluster(EventableCluster, MultistateInput): OnOffCluster, Time.cluster_id, BinaryOutput.cluster_id, + ElectricalMeasurementCluster, + MeteringCluster, ], OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], },