mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
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:
parent
2b06168573
commit
1462c99bc0
@ -109,7 +109,8 @@ async def _process_config(hass: HomeAssistant, hass_config: ConfigType) -> None:
|
|||||||
"entities": conf_section[platform_domain],
|
"entities": conf_section[platform_domain],
|
||||||
},
|
},
|
||||||
hass_config,
|
hass_config,
|
||||||
)
|
),
|
||||||
|
eager_start=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
if coordinator_tasks:
|
if coordinator_tasks:
|
||||||
|
@ -59,7 +59,8 @@ class TriggerUpdateCoordinator(DataUpdateCoordinator):
|
|||||||
DOMAIN,
|
DOMAIN,
|
||||||
{"coordinator": self, "entities": self.config[platform_domain]},
|
{"coordinator": self, "entities": self.config[platform_domain]},
|
||||||
hass_config,
|
hass_config,
|
||||||
)
|
),
|
||||||
|
eager_start=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
async def _attach_triggers(self, start_event=None) -> None:
|
async def _attach_triggers(self, start_event=None) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user