We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9b2b3 commit 9e896e4Copy full SHA for 9e896e4
plugwise_usb/nodes/circle.py
@@ -2,7 +2,7 @@
2
3
from __future__ import annotations
4
5
-from asyncio import Task, create_task
+from asyncio import Task, create_task, sleep
6
from collections.abc import Awaitable, Callable
7
from dataclasses import replace
8
from datetime import UTC, datetime
@@ -472,6 +472,7 @@ async def get_missing_energy_logs(self) -> None:
472
473
missing_addresses = sorted(missing_addresses, reverse=True)
474
for address in missing_addresses:
475
+ await sleep(0)
476
await self.energy_log_update(address)
477
478
if self._cache_enabled:
0 commit comments