mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix ambiclimate for Python 3.11 (#94203)
Fix ambiclimate python 3.11 break
This commit is contained in:
@@ -98,7 +98,7 @@ async def async_setup_entry(
|
|||||||
|
|
||||||
tasks = []
|
tasks = []
|
||||||
for heater in data_connection.get_devices():
|
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)
|
await asyncio.wait(tasks)
|
||||||
|
|
||||||
devs = []
|
devs = []
|
||||||
|
Reference in New Issue
Block a user