mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Make eager_start default to True for config entry async_create_background_task (#115050)
This commit is contained in:
parent
166910f587
commit
52957849cf
@ -1080,7 +1080,7 @@ class ConfigEntry:
|
|||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
target: Coroutine[Any, Any, _R],
|
target: Coroutine[Any, Any, _R],
|
||||||
name: str,
|
name: str,
|
||||||
eager_start: bool = False,
|
eager_start: bool = True,
|
||||||
) -> asyncio.Task[_R]:
|
) -> asyncio.Task[_R]:
|
||||||
"""Create a background task tied to the config entry lifecycle.
|
"""Create a background task tied to the config entry lifecycle.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user