From 4655ea8e32618b1454e33cb809259177d87e5b75 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 7 Mar 2024 10:52:03 -1000 Subject: [PATCH] merge --- homeassistant/config_entries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 1283719f5cfd..77f7ec982405 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -1024,7 +1024,7 @@ class ConfigEntry: name: str, eager_start: bool = False, ) -> asyncio.Task[_R]: - """Create a task from within the event loop. + """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. @@ -1052,7 +1052,7 @@ class ConfigEntry: name: str, eager_start: bool = False, ) -> asyncio.Task[_R]: - """Create a task from within the event loop. + """Create a periodic 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.