Fix ambiclimate for Python 3.11 (#94203)

Fix ambiclimate python 3.11 break
This commit is contained in:
James Connor 2023-06-08 08:43:30 +01:00 committed by Paulus Schoutsen
parent f39a6b96ff
commit 13029cf26f

View File

@ -98,7 +98,7 @@ async def async_setup_entry(
tasks = []
for heater in data_connection.get_devices():
tasks.append(heater.update_device_info())
tasks.append(asyncio.create_task(heater.update_device_info()))
await asyncio.wait(tasks)
devs = []