Skip to content

Commit 942ebd2

Browse files
committed
Remove added debug-logging
1 parent 8d145de commit 942ebd2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ async def power_update(self) -> PowerStatistics | None:
279279
280280
Return power usage or None if retrieval failed
281281
"""
282-
_LOGGER.debug("Requesting a PowerStatistics update for %s", self._mac_in_str)
283282
# Debounce power
284283
if self.skip_update(self._power, MINIMAL_POWER_UPDATE):
285284
return self._power
@@ -335,7 +334,6 @@ def _log_no_energy_stats_update(self) -> None:
335334
@raise_calibration_missing
336335
async def energy_update(self) -> EnergyStatistics | None: # noqa: PLR0911 PLR0912
337336
"""Return updated energy usage statistics."""
338-
_LOGGER.debug("Requesting an EnergyStatistics update for %s", self._mac_in_str)
339337
if self._current_log_address is None:
340338
_LOGGER.debug(
341339
"Unable to update energy logs for node %s because the current log address is unknown.",
@@ -356,11 +354,6 @@ async def energy_update(self) -> EnergyStatistics | None: # noqa: PLR0911 PLR09
356354
self._current_log_address
357355
)
358356

359-
_LOGGER.debug(
360-
"Rollover status for %s: %s",
361-
self._mac_in_str,
362-
self._energy_counters.log_rollover,
363-
)
364357
if self._energy_counters.log_rollover:
365358
# Try updating node_info to collect the updated energy log address
366359
if await self.node_info_update() is None:

0 commit comments

Comments
 (0)