Make eager_start default to True for config entry async_create_background_task (#115050)

This commit is contained in:
J. Nick Koston 2024-04-06 10:59:24 -10:00 committed by GitHub
parent 166910f587
commit 52957849cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1080,7 +1080,7 @@ class ConfigEntry:
hass: HomeAssistant,
target: Coroutine[Any, Any, _R],
name: str,
eager_start: bool = False,
eager_start: bool = True,
) -> asyncio.Task[_R]:
"""Create a background task tied to the config entry lifecycle.