Do not add coordinator to the ZHA entities. (#23803)
This commit is contained in:
parent
c8d479e594
commit
910825580e
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue