Fix tradfri asyncio.wait (#99730)

This commit is contained in:
Marc Mueller
2023-09-08 19:59:29 +02:00
committed by Bram Kragten
parent 39669bc788
commit 8b69f9fda8
@@ -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
]
)