Add a task name to the config entry retry tasks (#113188)

This commit is contained in:
J. Nick Koston 2024-03-12 14:19:22 -10:00 committed by GitHub
parent 9ec0e097ef
commit e347096ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -640,7 +640,11 @@ class ConfigEntry:
# Check again when we fire in case shutdown
# has started so we do not block shutdown
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
def async_shutdown(self) -> None: