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 6850a74 commit 00a7430Copy full SHA for 00a7430
plugwise_usb/nodes/circle.py
@@ -426,7 +426,7 @@ async def energy_log_update(self, address: int) -> bool:
426
# Each response message contains 4 log counters (slots) of the
427
# energy pulses collected during the previous hour of given timestamp
428
for _slot in range(4, 0, -1):
429
- _log_timestamp: datetime = getattr(
+ _log_timestamp: datetime | None = getattr(
430
response, "logdate%d" % (_slot,)
431
).value
432
_log_pulses: int = getattr(response, "pulses%d" % (_slot,)).value
0 commit comments