Skip to content

Commit 7e5e913

Browse files
authored
Support more Phillips Hue wall switch firmwares (#4228)
1 parent 80cf7f4 commit 7e5e913

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

zhaquirks/philips/wall_switch.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class PhilipsWallSwitchRemoteCluster(PhilipsRemoteCluster):
8888

8989

9090
class PhilipsWallSwitch(CustomDevice):
91-
"""Philips RDM001 or RDM004 device."""
91+
"""Philips RDM001 or RDM004 device using old firmware."""
9292

9393
signature = {
9494
# <SimpleDescriptor endpoint=1 profile=260 device_type=2080
@@ -149,11 +149,16 @@ class PhilipsWallSwitch(CustomDevice):
149149
)
150150

151151

152-
class PhilipsWallSwitchRDM004(CustomDevice):
153-
"""Philips RDM004 variant."""
152+
class PhilipsWallSwitchNewFirmware(CustomDevice):
153+
"""Philips RDM001 or RDM004 device using new firmware."""
154154

155155
signature = {
156-
MODELS_INFO: [(SIGNIFY, "RDM004")],
156+
MODELS_INFO: [
157+
(PHILIPS, "RDM001"),
158+
(SIGNIFY, "RDM001"),
159+
(PHILIPS, "RDM004"), # likely not needed
160+
(SIGNIFY, "RDM004"),
161+
],
157162
ENDPOINTS: {
158163
1: {
159164
PROFILE_ID: zha.PROFILE_ID,

0 commit comments

Comments
 (0)