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