From 4ef96c76e4f5ba15f67e6e493d2ff9087b30feb0 Mon Sep 17 00:00:00 2001 From: avee87 <6134677+avee87@users.noreply.github.com> Date: Sat, 25 Feb 2023 11:05:24 +0000 Subject: [PATCH] Fix log message in recorder on total_increasing reset (#88710) --- homeassistant/components/sensor/recorder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/recorder.py b/homeassistant/components/sensor/recorder.py index 7f889459977..0d2dc06b83f 100644 --- a/homeassistant/components/sensor/recorder.py +++ b/homeassistant/components/sensor/recorder.py @@ -588,8 +588,8 @@ def _compile_statistics( # noqa: C901 ), entity_id, new_state, - state.last_updated.isoformat(), fstate, + state.last_updated.isoformat(), ) except HomeAssistantError: continue