Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions zhaquirks/philips/wall_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class PhilipsWallSwitchRemoteCluster(PhilipsRemoteCluster):


class PhilipsWallSwitch(CustomDevice):
"""Philips RDM001 or RDM004 device."""
"""Philips RDM001 or RDM004 device using old firmware."""

signature = {
# <SimpleDescriptor endpoint=1 profile=260 device_type=2080
Expand Down Expand Up @@ -149,11 +149,16 @@ class PhilipsWallSwitch(CustomDevice):
)


class PhilipsWallSwitchRDM004(CustomDevice):
"""Philips RDM004 variant."""
class PhilipsWallSwitchNewFirmware(CustomDevice):
"""Philips RDM001 or RDM004 device using new firmware."""

signature = {
MODELS_INFO: [(SIGNIFY, "RDM004")],
MODELS_INFO: [
(PHILIPS, "RDM001"),
(SIGNIFY, "RDM001"),
(PHILIPS, "RDM004"), # likely not needed
(SIGNIFY, "RDM004"),
],
ENDPOINTS: {
1: {
PROFILE_ID: zha.PROFILE_ID,
Expand Down
Loading