Change utility_meter log level for invalid old state (#93026)

pull/93443/head
ollo69 2023-05-24 09:10:51 +02:00 committed by GitHub
parent abf08f66a4
commit 62ccecb690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class UtilityMeterSensor(RestoreSensor):
if (old_state_val := self._validate_state(old_state)) is not None:
return new_state_val - old_state_val
_LOGGER.warning(
_LOGGER.debug(
"%s received an invalid state change coming from %s (%s > %s)",
self.name,
self._sensor_source_id,