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 8036f85 commit 3b493f9Copy full SHA for 3b493f9
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
@@ -474,7 +474,7 @@ async def get_missing_energy_logs(self) -> None:
474
missing_addresses = sorted(missing_addresses, reverse=True)
475
for address in missing_addresses:
476
await self.energy_log_update(address)
477
- await asyncio.sleep(0.1) # Test with a smnall delay
+ await sleep(0.1) # Test with a smnall delay
478
479
if self._cache_enabled:
480
await self._energy_log_records_save_to_cache()
0 commit comments