Skip to content

Commit c7404d3

Browse files
committed
Improve comment
1 parent 5b29903 commit c7404d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/nodes/helpers/counter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def update(
283283
# No syncing needed for the hour-counters, they reset when the device pulsecounter(s) reset
284284
last_reset = last_reset.replace(minute=0, second=0, microsecond=0)
285285
if self._energy_id in ENERGY_DAY_COUNTERS:
286-
# Postpone the daily reset time change until the device pulsecounter(s) reset
286+
# Postpone the daily last_reset time-change until a device pulsecounter resets
287287
if pulse_collection.pulse_counter_reset:
288288
last_reset = last_reset.replace(hour=0, minute=0, second=0, microsecond=0)
289289

0 commit comments

Comments
 (0)