mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix tplink_lte setup (#107642)
This commit is contained in:
parent
3c53693fe3
commit
29dd70ccfb
@ -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, []):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user