Fix tradfri asyncio.wait (#99730)

pull/99950/head
Marc Mueller 2023-09-06 16:57:13 +02:00 committed by Bram Kragten
parent 39669bc788
commit 8b69f9fda8
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class FlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
if same_hub_entries:
await asyncio.wait(
[
self.hass.config_entries.async_remove(entry_id)
asyncio.create_task(self.hass.config_entries.async_remove(entry_id))
for entry_id in same_hub_entries
]
)