mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
parent
8fe95f4bab
commit
08c36e0089
@ -63,10 +63,10 @@ async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry):
|
|||||||
if not daikin_api:
|
if not daikin_api:
|
||||||
return False
|
return False
|
||||||
hass.data.setdefault(DOMAIN, {}).update({entry.entry_id: daikin_api})
|
hass.data.setdefault(DOMAIN, {}).update({entry.entry_id: daikin_api})
|
||||||
await asyncio.wait([
|
for component in COMPONENT_TYPES:
|
||||||
hass.config_entries.async_forward_entry_setup(entry, component)
|
hass.async_create_task(
|
||||||
for component in COMPONENT_TYPES
|
hass.config_entries.async_forward_entry_setup(
|
||||||
])
|
entry, component))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user