From 04024e6855595c294e4ef89086190066a2f02770 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Sat, 24 May 2025 13:53:48 +0200 Subject: [PATCH] Pulses: correct mistake --- plugwise_usb/nodes/helpers/pulses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugwise_usb/nodes/helpers/pulses.py b/plugwise_usb/nodes/helpers/pulses.py index d045e23f6..638e5bfeb 100644 --- a/plugwise_usb/nodes/helpers/pulses.py +++ b/plugwise_usb/nodes/helpers/pulses.py @@ -1008,9 +1008,10 @@ def _missing_addresses_after( 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 if address not in addresses: addresses.append(address) + return addresses # Production logging active