From 60394fa4f9099fa0940ad9794aed377bb895aa30 Mon Sep 17 00:00:00 2001 From: "mike.toggweiler" Date: Thu, 5 Dec 2024 09:32:13 +0100 Subject: [PATCH] fixed lookup --- custom_components/askoheat/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/askoheat/switch.py b/custom_components/askoheat/switch.py index e0e068b..c0eb92e 100644 --- a/custom_components/askoheat/switch.py +++ b/custom_components/askoheat/switch.py @@ -229,7 +229,7 @@ def available(self) -> bool: and CONF_FEED_IN_ENABLED_SWITCH_ENTITY_DESCRIPTOR.data_key in self.coordinator.data and EMA_FEED_IN_VALUE_NUMBER_ENTITY_DESCRIPTOR.data_key - in self.coordinator.data + in self._ema_coordinator.data ) @callback