Load template platforms with eager_start (#114701)

* Load template platforms with eager_start

These can all be loaded synchronously

* missed some
This commit is contained in:
J. Nick Koston 2024-04-03 21:33:10 -10:00 committed by GitHub
parent 2b06168573
commit 1462c99bc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -109,7 +109,8 @@ async def _process_config(hass: HomeAssistant, hass_config: ConfigType) -> None:
"entities": conf_section[platform_domain],
},
hass_config,
)
),
eager_start=True,
)
if coordinator_tasks:

View File

@ -59,7 +59,8 @@ class TriggerUpdateCoordinator(DataUpdateCoordinator):
DOMAIN,
{"coordinator": self, "entities": self.config[platform_domain]},
hass_config,
)
),
eager_start=True,
)
async def _attach_triggers(self, start_event=None) -> None: