We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea3cb8 commit 660f0d1Copy full SHA for 660f0d1
plugwise_usb/nodes/helpers/pulses.py
@@ -514,9 +514,9 @@ def _update_log_direction(
514
if self._first_prev_log_processed and self._first_next_log_processed:
515
# _log_production is True when 2 out of 3 consecutive slots have
516
# the same timestamp, otherwise it is False
517
- self._log_production = (
+ self._log_production = (
518
next_timestamp == timestamp and prev_timestamp != timestamp
519
- ) or (next_timestamp == prev_timestamp and next_timestamp != timestamp)
+ ) or (prev_timestamp == timestamp and next_timestamp != timestamp)
520
521
def _check_prev_production(
522
self, address: int, slot: int, timestamp: datetime
0 commit comments