Skip to content

Commit 43e9ea9

Browse files
authored
Fix Philips Hue remotes initial attribute writes (#3435)
This fix ensures the `attr_config` is correctly written on the `PhilipsBasicCluster` when the device is paired or reconfigured. The `bind()` method on the `Basic` cluster isn't actually called, as ZHA doesn't bind the `Basic` cluster anymore.
1 parent f50a2de commit 43e9ea9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

zhaquirks/philips/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,9 @@ class AttributeDefs(Basic.AttributeDefs):
6969

7070
attr_config = {AttributeDefs.philips.id: 0x000B}
7171

72-
async def bind(self):
73-
"""Bind cluster."""
74-
result = await super().bind()
72+
async def apply_custom_configuration(self, *args, **kwargs):
73+
"""Apply custom configuration."""
7574
await self.write_attributes(self.attr_config, manufacturer=0x100B)
76-
return result
7775

7876

7977
class ButtonPressQueue:

0 commit comments

Comments
 (0)