Pass loop to create_eager_task in loops from more coros (#117390)
parent
9381462877
commit
13414a0a32
|
@ -1673,7 +1673,9 @@ async def async_process_component_config(
|
|||
validated_config
|
||||
for validated_config in await asyncio.gather(
|
||||
*(
|
||||
create_eager_task(async_load_and_validate(p_integration))
|
||||
create_eager_task(
|
||||
async_load_and_validate(p_integration), loop=hass.loop
|
||||
)
|
||||
for p_integration in platform_integrations_to_load
|
||||
)
|
||||
)
|
||||
|
|
|
@ -202,6 +202,7 @@ async def _async_process_dependencies(
|
|||
or create_eager_task(
|
||||
async_setup_component(hass, dep, config),
|
||||
name=f"setup {dep} as dependency of {integration.domain}",
|
||||
loop=hass.loop,
|
||||
)
|
||||
for dep in integration.dependencies
|
||||
if dep not in hass.config.components
|
||||
|
|
Loading…
Reference in New Issue