mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Change utility_meter log level for invalid old state (#93026)
This commit is contained in:
parent
abf08f66a4
commit
62ccecb690
@ -411,7 +411,7 @@ class UtilityMeterSensor(RestoreSensor):
|
|||||||
if (old_state_val := self._validate_state(old_state)) is not None:
|
if (old_state_val := self._validate_state(old_state)) is not None:
|
||||||
return new_state_val - old_state_val
|
return new_state_val - old_state_val
|
||||||
|
|
||||||
_LOGGER.warning(
|
_LOGGER.debug(
|
||||||
"%s received an invalid state change coming from %s (%s > %s)",
|
"%s received an invalid state change coming from %s (%s > %s)",
|
||||||
self.name,
|
self.name,
|
||||||
self._sensor_source_id,
|
self._sensor_source_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user