Skip to content

Commit 15f4340

Browse files
committed
Fix
1 parent c9a63a8 commit 15f4340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ def _update_log_direction(
518518
or double slots containing consumption and production data.
519519
Single slots containing production data only is NOT supported/tested.
520520
"""
521-
prev_timestamp = self._check_prev_production(self, address, slot, timestamp)
522-
next_timestamp = self._check_next_production(self, address, slot, timestamp)
521+
prev_timestamp = self._check_prev_production(address, slot, timestamp)
522+
next_timestamp = self._check_next_production(address, slot, timestamp)
523523
if self._first_prev_log_processed and self._first_next_log_processed:
524524
# _log_production is True when 2 out of 3 consecutive slots have
525525
# the same timestamp

0 commit comments

Comments
 (0)