Fix tradfri asyncio.wait (#99730)

This commit is contained in:
Marc Mueller 2023-09-06 16:57:13 +02:00 committed by GitHub
parent 5d54660802
commit d8035ddf47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
]
)