From 52fe40d53913ab484578252014fb2a2442cf7f6e Mon Sep 17 00:00:00 2001 From: TheJulianJES Date: Tue, 1 Nov 2022 02:22:21 +0100 Subject: [PATCH] Only try initializing Hue motion LED on endpoint 2 with ZHA (#81205) --- homeassistant/components/zha/core/channels/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/zha/core/channels/general.py b/homeassistant/components/zha/core/channels/general.py index ded51455af8..c028a6021da 100644 --- a/homeassistant/components/zha/core/channels/general.py +++ b/homeassistant/components/zha/core/channels/general.py @@ -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() )