Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugwise_usb/nodes/helpers/pulses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,9 +1008,10 @@
address, slot = calc_log_address(address, slot, 1)
while expected_timestamp < target:
address, slot = calc_log_address(address, slot, 1)
expected_timestamp += timedelta(hours=1)
expected_timestamp += calc_interval_cons

Check warning on line 1011 in plugwise_usb/nodes/helpers/pulses.py

View check run for this annotation

Codecov / codecov/patch

plugwise_usb/nodes/helpers/pulses.py#L1011

Added line #L1011 was not covered by tests
if address not in addresses:
addresses.append(address)

return addresses

# Production logging active
Expand Down
Loading