Skip to content

Commit 00a7430

Browse files
committed
Correct typing
1 parent 6850a74 commit 00a7430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ async def energy_log_update(self, address: int) -> bool:
426426
# Each response message contains 4 log counters (slots) of the
427427
# energy pulses collected during the previous hour of given timestamp
428428
for _slot in range(4, 0, -1):
429-
_log_timestamp: datetime = getattr(
429+
_log_timestamp: datetime | None = getattr(
430430
response, "logdate%d" % (_slot,)
431431
).value
432432
_log_pulses: int = getattr(response, "pulses%d" % (_slot,)).value

0 commit comments

Comments
 (0)