Skip to content

Commit 04024e6

Browse files
committed
Pulses: correct mistake
1 parent ed2ffc8 commit 04024e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,9 +1008,10 @@ def _missing_addresses_after(
10081008
address, slot = calc_log_address(address, slot, 1)
10091009
while expected_timestamp < target:
10101010
address, slot = calc_log_address(address, slot, 1)
1011-
expected_timestamp += timedelta(hours=1)
1011+
expected_timestamp += calc_interval_cons
10121012
if address not in addresses:
10131013
addresses.append(address)
1014+
10141015
return addresses
10151016

10161017
# Production logging active

0 commit comments

Comments
 (0)