From 04f8eb99063302f69b7b972924768be853ce304c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 09:00:07 +0000 Subject: [PATCH] Apply pre-commit auto fixes --- zhaquirks/xiaomi/__init__.py | 3 +-- zhaquirks/xiaomi/aqara/plug_eu.py | 11 ++++++----- 2 files changed, 7 insertions(+), 7 deletions(-) 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 + }