Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions homeassistant/config_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
from .loader import async_suggest_report_issue
from .setup import DATA_SETUP_DONE, async_process_deps_reqs, async_setup_component
from .util import uuid as uuid_util
from .util.async_ import create_eager_task
from .util.decorator import Registry

if TYPE_CHECKING:
Expand Down Expand Up @@ -1690,7 +1691,7 @@ async def async_forward_entry_setups(
"""Forward the setup of an entry to platforms."""
await asyncio.gather(
*(
asyncio.create_task(
create_eager_task(
self.async_forward_entry_setup(entry, platform),
name=f"config entry forward setup {entry.title} {entry.domain} {entry.entry_id} {platform}",
)
Expand Down Expand Up @@ -1726,7 +1727,7 @@ async def async_unload_platforms(
return all(
await asyncio.gather(
*(
asyncio.create_task(
create_eager_task(
self.async_forward_entry_unload(entry, platform),
name=f"config entry forward unload {entry.title} {entry.domain} {entry.entry_id} {platform}",
)
Expand Down