Skip to content

Commit c99400b

Browse files
committed
Fix missing line
1 parent 4093be8 commit c99400b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ def _update_log_references(self, address: int, slot: int) -> None:
764764
return
765765

766766
log_timestamp = self._logs[address][slot].timestamp
767+
is_consumption = self._logs[address][slot].is_consumption
767768
# Sync log_timestamp with the device pulsecounter reset-time
768769
# This syncs the daily reset of energy counters with the corresponding device pulsecounter reset
769770
if self._last_hourly_reset is not None:

0 commit comments

Comments
 (0)