Add a task name to the config entry retry tasks (#113188)
This commit is contained in:
parent
9ec0e097ef
commit
e347096ef5
1 changed files with 5 additions and 1 deletions
|
@ -640,7 +640,11 @@ class ConfigEntry:
|
||||||
# Check again when we fire in case shutdown
|
# Check again when we fire in case shutdown
|
||||||
# has started so we do not block shutdown
|
# has started so we do not block shutdown
|
||||||
if not hass.is_stopping:
|
if not hass.is_stopping:
|
||||||
hass.async_create_task(self.async_setup(hass), eager_start=True)
|
hass.async_create_task(
|
||||||
|
self.async_setup(hass),
|
||||||
|
f"config entry retry {self.domain} {self.title}",
|
||||||
|
eager_start=True,
|
||||||
|
)
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def async_shutdown(self) -> None:
|
def async_shutdown(self) -> None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue