From c674af3ba1b4a87682427003a86febc95f69c094 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Tue, 21 Jun 2022 10:22:06 +0200 Subject: [PATCH] Remove hvac_action for Somfy Thermostat (#73776) --- .../overkiz/climate_entities/somfy_thermostat.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py b/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py index cfea49881f4..80859d7561b 100644 --- a/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py +++ b/homeassistant/components/overkiz/climate_entities/somfy_thermostat.py @@ -11,7 +11,6 @@ from homeassistant.components.climate.const import ( PRESET_HOME, PRESET_NONE, ClimateEntityFeature, - HVACAction, HVACMode, ) from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS @@ -83,15 +82,6 @@ class SomfyThermostat(OverkizEntity, ClimateEntity): ) ] - @property - def hvac_action(self) -> str: - """Return the current running hvac operation if supported.""" - if not self.current_temperature or not self.target_temperature: - return HVACAction.IDLE - if self.current_temperature < self.target_temperature: - return HVACAction.HEATING - return HVACAction.IDLE - @property def preset_mode(self) -> str: """Return the current preset mode, e.g., home, away, temp."""