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 9e3e91c commit 9da04f3Copy full SHA for 9da04f3
plugwise_usb/nodes/helpers/pulses.py
@@ -468,7 +468,7 @@ def _add_log_record(
468
return False
469
470
# Drop useless log records when we have at least 4 logs
471
- if self.collected_logs > 4 and log_record.timestamp < (
+ if self.collected_logs > 4 and log_record.timestamp <= (
472
datetime.now(tz=UTC) - timedelta(hours=MAX_LOG_HOURS)
473
):
474
0 commit comments