Skip to content

Commit

Permalink
Class SolarEdgeACEnergy log level to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Nov 29, 2023
1 parent c42e209 commit ed3abec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/solaredge_modbus_multi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def available(self) -> bool:
)

if self._value < self._last:
_LOGGER.error(
_LOGGER.debug(
f"TOTAL_INCREASING {self._model_key} error: "
f"{self._value} < {self._last}"
)
Expand All @@ -930,7 +930,7 @@ def available(self) -> bool:
return False

except (ZeroDivisionError, OverflowError) as e:
_LOGGER.error(f"TOTAL_INCREASING {self._model_key} exception: {e}")
_LOGGER.debug(f"TOTAL_INCREASING {self._model_key} exception: {e}")
return False

return super().available
Expand Down

0 comments on commit ed3abec

Please sign in to comment.