mirror of
https://github.com/home-assistant/core.git
synced 2026-09-27 01:46:11 -04:00
merge
This commit is contained in:
@@ -1026,8 +1026,7 @@ class ConfigEntry:
|
||||
) -> asyncio.Task[_R]:
|
||||
"""Create a background task tied to the config entry lifecycle.
|
||||
|
||||
This type of task is for background tasks that usually run for
|
||||
the lifetime of Home Assistant or an integration's setup.
|
||||
Background tasks are automatically canceled when config entry is unloaded.
|
||||
|
||||
This is a background task which is different from a normal task:
|
||||
|
||||
@@ -1054,6 +1053,8 @@ class ConfigEntry:
|
||||
) -> asyncio.Task[_R]:
|
||||
"""Create a periodic task tied to the config entry lifecycle.
|
||||
|
||||
Periodic tasks are automatically canceled when config entry is unloaded.
|
||||
|
||||
This type of task is typically used for polling.
|
||||
|
||||
This is a periodic task which is different from a normal task:
|
||||
|
||||
Reference in New Issue
Block a user