diff --git a/zhaquirks/xiaomi/__init__.py b/zhaquirks/xiaomi/__init__.py index a7b327bedc..4d83aace91 100644 --- a/zhaquirks/xiaomi/__init__.py +++ b/zhaquirks/xiaomi/__init__.py @@ -378,8 +378,7 @@ def _parse_aqara_attributes(self, value): ) elif self.endpoint.device.model in [ "lumi.plug", - "lumi.plug.aeu001" - "lumi.plug.maus01", + "lumi.plug.aeu001" "lumi.plug.maus01", "lumi.plug.maeu01", "lumi.plug.mmeu01", "lumi.relay.c2acn01", diff --git a/zhaquirks/xiaomi/aqara/plug_eu.py b/zhaquirks/xiaomi/aqara/plug_eu.py index dfdaf5f281..82b964d57e 100644 --- a/zhaquirks/xiaomi/aqara/plug_eu.py +++ b/zhaquirks/xiaomi/aqara/plug_eu.py @@ -347,9 +347,10 @@ class PlugMAEU01Alt3(PlugMAEU01): replacement = PlugMAEU01.replacement + class PlugAEU001(PlugMAEU01): """lumi.plug.aeu001 plug H2 EU""" - + signature = { MODELS_INFO: [ (LUMI, "lumi.plug.aeu001"), @@ -372,7 +373,7 @@ class PlugAEU001(PlugMAEU01): TemperatureMeasurement.cluster_id, Metering.cluster_id, ElectricalMeasurement.cluster_id, - 0xfcc0, + 0xFCC0, ], OUTPUT_CLUSTERS: [ Time.cluster_id, @@ -401,7 +402,7 @@ class PlugAEU001(PlugMAEU01): }, }, } - + replacement = { ENDPOINTS: { 1: { @@ -438,7 +439,7 @@ class PlugAEU001(PlugMAEU01): INPUT_CLUSTERS: [ AnalogInputCluster, ], - OUTPUT_CLUSTERS:[], + OUTPUT_CLUSTERS: [], }, }, - } \ No newline at end of file + }