Correct confusing log message in sensor statistics (#56016)

This commit is contained in:
Erik Montnemery 2021-09-10 08:26:29 +02:00 committed by Paulus Schoutsen
parent 8f344252c4
commit c424f99aab

View File

@ -441,8 +441,8 @@ def compile_statistics( # noqa: C901
_LOGGER.info( _LOGGER.info(
"Detected new cycle for %s, value dropped from %s to %s", "Detected new cycle for %s, value dropped from %s to %s",
entity_id, entity_id,
fstate,
new_state, new_state,
fstate,
) )
if reset: if reset: