Make entity component platform setup tasks eager (#111698)
Many of these that setup from YAML will never suspend because they do no I/O
This commit is contained in:
parent
459f430575
commit
69a1da0a1a
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ class EntityComponent(Generic[_EntityT]):
|
|||
self.hass.async_create_task(
|
||||
self.async_setup_platform(p_type, p_config),
|
||||
f"EntityComponent setup platform {p_type} {self.domain}",
|
||||
eager_start=True,
|
||||
)
|
||||
|
||||
# Generic discovery listener for loading platform dynamically
|
||||
|
|
Loading…
Add table
Reference in a new issue