Skip to content

Commit f95e9a3

Browse files
committed
Party revert removal
1 parent d702e25 commit f95e9a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ def _collect_pulses_from_logs(
234234
self._mac,
235235
)
236236
return None
237+
238+
timestamp = self._last_log_consumption_timestamp
237239
_LOGGER.debug("HOI _last_log_consumption_timestamp=%s", self._last_log_consumption_timestamp)
238240
else:
239241
if self._last_log_production_timestamp is None:
@@ -242,6 +244,8 @@ def _collect_pulses_from_logs(
242244
self._mac,
243245
)
244246
return None
247+
248+
timestamp = self._last_log_production_timestamp
245249
_LOGGER.debug("HOI _last_log_production_timestamp=%s", self._last_log_production_timestamp)
246250

247251
missing_logs = self._logs_missing(from_timestamp)

0 commit comments

Comments
 (0)