Skip to content

Commit 6dfee7e

Browse files
committed
fix: claimed handlers include client handlers
The claimed handlers already include the client cluster handlers, so we should not execute on them twice.
1 parent 7d24475 commit 6dfee7e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

zha/zigbee/endpoint.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,8 @@ async def _execute_handler_tasks(
225225
self, func_name: str, *args: Any, max_concurrency: int | None = None
226226
) -> None:
227227
"""Add a throttled cluster handler task and swallow exceptions."""
228-
cluster_handlers = [
229-
*self.claimed_cluster_handlers.values(),
230-
*self.client_cluster_handlers.values(),
231-
]
228+
cluster_handlers = [*self.claimed_cluster_handlers.values()]
229+
232230
tasks = [getattr(ch, func_name)(*args) for ch in cluster_handlers]
233231

234232
gather: Callable[..., Awaitable]

0 commit comments

Comments
 (0)