Skip to content

Commit 71b36c6

Browse files
committed
Use production_logging property
1 parent 6502f1e commit 71b36c6

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
@@ -171,7 +171,7 @@ def update(self) -> None:
171171
# self._energy_statistics.week_consumption_reset,
172172
# ) = self._counters[EnergyType.CONSUMPTION_WEEK].update(self._pulse_collection)
173173

174-
if self._pulse_collection._log_production:
174+
if self._pulse_collection.production_logging:
175175
self._energy_statistics.log_interval_production = (
176176
self._pulse_collection.log_interval_production
177177
)

0 commit comments

Comments
 (0)