mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 09:38:21 +00:00
Do not add coordinator to the ZHA entities. (#23803)
This commit is contained in:
parent
9b12dd66e4
commit
93ad7b2e45
@ -93,6 +93,8 @@ class ZHAGateway:
|
|||||||
|
|
||||||
init_tasks = []
|
init_tasks = []
|
||||||
for device in self.application_controller.devices.values():
|
for device in self.application_controller.devices.values():
|
||||||
|
if device.nwk == 0x0000:
|
||||||
|
continue
|
||||||
init_tasks.append(self.async_device_initialized(device, False))
|
init_tasks.append(self.async_device_initialized(device, False))
|
||||||
await asyncio.gather(*init_tasks)
|
await asyncio.gather(*init_tasks)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user