mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 14:08:20 +00:00
Fix tplink_lte setup (#107642)
This commit is contained in:

committed by
Franck Nijhof

parent
f1fc5abbc2
commit
26da7402a2
@@ -94,7 +94,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||||||
|
|
||||||
tasks = [_setup_lte(hass, conf) for conf in domain_config]
|
tasks = [_setup_lte(hass, conf) for conf in domain_config]
|
||||||
if tasks:
|
if tasks:
|
||||||
await asyncio.wait(tasks)
|
await asyncio.gather(*tasks)
|
||||||
|
|
||||||
for conf in domain_config:
|
for conf in domain_config:
|
||||||
for notify_conf in conf.get(CONF_NOTIFY, []):
|
for notify_conf in conf.get(CONF_NOTIFY, []):
|
||||||
|
Reference in New Issue
Block a user