Use eager_start for tasks to register integration platforms (#112800)

pull/112804/head
J. Nick Koston 2024-03-08 22:10:57 -10:00 committed by GitHub
parent b591bb43f5
commit 9ca9d7f48f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -140,6 +140,7 @@ def _process_integration_platforms(
hass,
integration.domain,
platform,
eager_start=True,
)
)
]
@ -249,7 +250,7 @@ async def _async_process_integration_platforms(
continue
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)