From 26bb6042431ee532b329cbdbbb6e73c5fb412b61 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Mon, 27 Jul 2020 14:20:18 +0100 Subject: [PATCH] Remove evohome hvac_action as it is inaccurate (#38244) --- homeassistant/components/evohome/climate.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/homeassistant/components/evohome/climate.py b/homeassistant/components/evohome/climate.py index c6edb4aa1dc..e99cae5e22e 100644 --- a/homeassistant/components/evohome/climate.py +++ b/homeassistant/components/evohome/climate.py @@ -5,9 +5,6 @@ from typing import List, Optional from homeassistant.components.climate import ClimateEntity from homeassistant.components.climate.const import ( - CURRENT_HVAC_HEAT, - CURRENT_HVAC_IDLE, - CURRENT_HVAC_OFF, HVAC_MODE_AUTO, HVAC_MODE_HEAT, HVAC_MODE_OFF, @@ -200,19 +197,6 @@ class EvoZone(EvoChild, EvoClimateEntity): is_off = self.target_temperature <= self.min_temp return HVAC_MODE_OFF if is_off else HVAC_MODE_HEAT - @property - def hvac_action(self) -> Optional[str]: - """Return the current running hvac operation if supported.""" - if self._evo_tcs.systemModeStatus["mode"] == EVO_HEATOFF: - return CURRENT_HVAC_OFF - if self.target_temperature <= self.min_temp: - return CURRENT_HVAC_OFF - if not self._evo_device.temperatureStatus["isAvailable"]: - return None - if self.target_temperature <= self.current_temperature: - return CURRENT_HVAC_IDLE - return CURRENT_HVAC_HEAT - @property def target_temperature(self) -> float: """Return the target temperature of a Zone."""