From bdcea51ccf3c8e2a53f3ef964b8e3c4096f5a94e Mon Sep 17 00:00:00 2001 From: David Mulcahey Date: Mon, 29 Jun 2020 17:08:31 -0400 Subject: [PATCH] fix spelling --- zhaquirks/philips/__init__.py | 16 ++++++++-------- zhaquirks/philips/rwl020.py | 10 +++++----- zhaquirks/philips/rwl021.py | 10 +++++----- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/zhaquirks/philips/__init__.py b/zhaquirks/philips/__init__.py index 38fa53b600..277d24f5ff 100644 --- a/zhaquirks/philips/__init__.py +++ b/zhaquirks/philips/__init__.py @@ -46,11 +46,11 @@ } -class PhillipsBasicCluster(CustomCluster, Basic): - """Phillips Basic cluster.""" +class PhilipsBasicCluster(CustomCluster, Basic): + """Philips Basic cluster.""" attributes = Basic.attributes.copy() - attributes.update({0x0031: ("phillips", t.bitmap16)}) + attributes.update({0x0031: ("philips", t.bitmap16)}) attr_config = {0x0031: 0x000B} @@ -61,12 +61,12 @@ async def bind(self): return result -class PhillipsRemoteCluster(CustomCluster): - """Phillips remote cluster.""" +class PhilipsRemoteCluster(CustomCluster): + """Philips remote cluster.""" cluster_id = 64512 - name = "PhillipsRemoteCluster" - ep_attribute = "phillips_remote_cluster" + name = "PhilipsRemoteCluster" + ep_attribute = "philips_remote_cluster" attributes = {} server_commands = {} client_commands = { @@ -82,7 +82,7 @@ class PhillipsRemoteCluster(CustomCluster): def handle_cluster_request(self, tsn, command_id, args): """Handle the cluster command.""" _LOGGER.debug( - "PhillipsRemoteCluster - handle_cluster_request tsn: [%s] command id: %s - args: [%s]", + "PhilipsRemoteCluster - handle_cluster_request tsn: [%s] command id: %s - args: [%s]", tsn, command_id, args, diff --git a/zhaquirks/philips/rwl020.py b/zhaquirks/philips/rwl020.py index 0493936129..9af7aecdcb 100644 --- a/zhaquirks/philips/rwl020.py +++ b/zhaquirks/philips/rwl020.py @@ -1,4 +1,4 @@ -"""Phillips RWL020 device.""" +"""Philips RWL020 device.""" from zigpy.profiles import zha, zll from zigpy.quirks import CustomDevice @@ -13,14 +13,14 @@ PowerConfiguration, ) -from . import HUE_REMOTE_DEVICE_TRIGGERS, PhillipsBasicCluster, PhillipsRemoteCluster +from . import HUE_REMOTE_DEVICE_TRIGGERS, PhilipsBasicCluster, PhilipsRemoteCluster from ..const import DEVICE_TYPE, ENDPOINTS, INPUT_CLUSTERS, OUTPUT_CLUSTERS, PROFILE_ID DIAGNOSTICS_CLUSTER_ID = 0x0B05 # decimal = 2821 class PhilipsRWL020(CustomDevice): - """Phillips RWL020 device.""" + """Philips RWL020 device.""" signature = { #