From 60fb71159d31d2e9af36ef4cbea6ab8c7ffca75f Mon Sep 17 00:00:00 2001 From: Michael <35783820+mib1185@users.noreply.github.com> Date: Thu, 11 May 2023 09:10:06 +0200 Subject: [PATCH] Fix uptime sensor deviation detection in Fritz!Tools (#92907) --- homeassistant/components/fritz/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/fritz/common.py b/homeassistant/components/fritz/common.py index 821b53f7e12..60b422eff2f 100644 --- a/homeassistant/components/fritz/common.py +++ b/homeassistant/components/fritz/common.py @@ -283,7 +283,7 @@ class FritzBoxTools( entity_data["entity_states"][ key ] = await self.hass.async_add_executor_job( - update_fn, self.fritz_status, self.data.get(key) + update_fn, self.fritz_status, self.data["entity_states"].get(key) ) if self.has_call_deflections: entity_data[