mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Only try initializing Hue motion LED on endpoint 2 with ZHA (#81205)
This commit is contained in:
parent
eea4719544
commit
52fe40d539
@ -156,7 +156,7 @@ class BasicChannel(ZigbeeChannel):
|
||||
def __init__(self, cluster: zigpy.zcl.Cluster, ch_pool: ChannelPool) -> None:
|
||||
"""Initialize Basic channel."""
|
||||
super().__init__(cluster, ch_pool)
|
||||
if is_hue_motion_sensor(self):
|
||||
if is_hue_motion_sensor(self) and self.cluster.endpoint.endpoint_id == 2:
|
||||
self.ZCL_INIT_ATTRS = ( # pylint: disable=invalid-name
|
||||
self.ZCL_INIT_ATTRS.copy()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user