Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey committed Jun 29, 2020
1 parent d3de280 commit 9c77a92
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions zhaquirks/philips/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,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}

Expand All @@ -60,12 +60,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 = {
Expand All @@ -81,7 +81,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,
Expand Down
10 changes: 5 additions & 5 deletions zhaquirks/philips/rwl020.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Phillips RWL020 device."""
"""Philips RWL020 device."""

from zigpy.profiles import zha, zll
from zigpy.quirks import CustomDevice
Expand All @@ -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 = {
# <SimpleDescriptor endpoint=1 profile=49246 device_type=2080
Expand Down Expand Up @@ -73,11 +73,11 @@ class PhilipsRWL020(CustomDevice):
},
2: {
INPUT_CLUSTERS: [
PhillipsBasicCluster,
PhilipsBasicCluster,
PowerConfiguration.cluster_id,
Identify.cluster_id,
BinaryInput.cluster_id,
PhillipsRemoteCluster,
PhilipsRemoteCluster,
],
OUTPUT_CLUSTERS: [Ota.cluster_id],
},
Expand Down
10 changes: 5 additions & 5 deletions zhaquirks/philips/rwl021.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Phillips RWL021 device."""
"""Philips RWL021 device."""

from zigpy.profiles import zha, zll
from zigpy.quirks import CustomDevice
Expand All @@ -14,14 +14,14 @@
Scenes,
)

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 PhilipsRWL021(CustomDevice):
"""Phillips RWL021 device."""
"""Philips RWL021 device."""

signature = {
# <SimpleDescriptor endpoint=1 profile=49246 device_type=2096
Expand Down Expand Up @@ -76,11 +76,11 @@ class PhilipsRWL021(CustomDevice):
},
2: {
INPUT_CLUSTERS: [
PhillipsBasicCluster,
PhilipsBasicCluster,
PowerConfiguration.cluster_id,
Identify.cluster_id,
BinaryInput.cluster_id,
PhillipsRemoteCluster,
PhilipsRemoteCluster,
],
OUTPUT_CLUSTERS: [Ota.cluster_id],
},
Expand Down

0 comments on commit 9c77a92

Please sign in to comment.