mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add names to the config entry setup and shutdown tasks (#89309)
* name the entry setup tasks * name a few more tasks * Update homeassistant/config_entries.py * Update homeassistant/setup.py
This commit is contained in:
@@ -295,7 +295,10 @@ async def _async_setup_component(
|
||||
|
||||
await asyncio.gather(
|
||||
*(
|
||||
entry.async_setup(hass, integration=integration)
|
||||
asyncio.create_task(
|
||||
entry.async_setup(hass, integration=integration),
|
||||
name=f"config entry setup {entry.title} {entry.domain} {entry.entry_id}",
|
||||
)
|
||||
for entry in hass.config_entries.async_entries(domain)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user