mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Use eager_start for tasks to register integration platforms (#112800)
This commit is contained in:
parent
b591bb43f5
commit
9ca9d7f48f
@ -140,6 +140,7 @@ def _process_integration_platforms(
|
|||||||
hass,
|
hass,
|
||||||
integration.domain,
|
integration.domain,
|
||||||
platform,
|
platform,
|
||||||
|
eager_start=True,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
@ -249,7 +250,7 @@ async def _async_process_integration_platforms(
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if future := hass.async_run_hass_job(
|
if future := hass.async_run_hass_job(
|
||||||
process_job, hass, integration.domain, platform
|
process_job, hass, integration.domain, platform, eager_start=True
|
||||||
):
|
):
|
||||||
futures.append(future)
|
futures.append(future)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user