Fix ambiclimate for Python 3.11 (#94203)
Fix ambiclimate python 3.11 break
This commit is contained in:
parent
52ba58c782
commit
f06ab91678
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Reference in a new issue