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 998091d commit 4c3504aCopy full SHA for 4c3504a
plugwise_usb/nodes/helpers/counter.py
@@ -283,13 +283,6 @@ def update(
283
if self._energy_id in ENERGY_HOUR_COUNTERS:
284
last_reset = last_reset.replace(minute=0, second=0, microsecond=0)
285
if self._energy_id in ENERGY_DAY_COUNTERS:
286
- reset: bool = pulse_collection.pulse_counter_reset
287
- _LOGGER.debug("energycounter_update | last reset hour=%s", last_reset.hour)
288
- _LOGGER.debug(
289
- "energycounter_update | pulse_counter_reset=%s, midnight_reset_passed=%s",
290
- reset,
291
- self._midnight_reset_passed,
292
- )
293
# Postpone the last_reset time-changes at day-end until a device pulsecounter resets
294
if last_reset.hour == 0 and (
295
not pulse_collection.pulse_counter_reset
0 commit comments