Fix tradfri asyncio.wait (#99730)
parent
39669bc788
commit
8b69f9fda8
|
@ -122,7 +122,7 @@ class FlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||||
if same_hub_entries:
|
if same_hub_entries:
|
||||||
await asyncio.wait(
|
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
|
for entry_id in same_hub_entries
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue