diff --git a/homeassistant/components/evohome/climate.py b/homeassistant/components/evohome/climate.py index d4ee8f3d5df..3bee1d6062e 100644 --- a/homeassistant/components/evohome/climate.py +++ b/homeassistant/components/evohome/climate.py @@ -131,7 +131,7 @@ class EvoClimateEntity(EvoDevice, ClimateEntity): _attr_temperature_unit = UnitOfTemperature.CELSIUS @property - def hvac_modes(self) -> list[str]: + def hvac_modes(self) -> list[HVACMode]: """Return a list of available hvac operation modes.""" return list(HA_HVAC_TO_TCS) @@ -191,7 +191,7 @@ class EvoZone(EvoChild, EvoClimateEntity): ) @property - def hvac_mode(self) -> str: + def hvac_mode(self) -> HVACMode: """Return the current operating mode of a Zone.""" if self._evo_tcs.systemModeStatus["mode"] in (EVO_AWAY, EVO_HEATOFF): return HVACMode.AUTO @@ -356,7 +356,7 @@ class EvoController(EvoClimateEntity): ) @property - def hvac_mode(self) -> str: + def hvac_mode(self) -> HVACMode: """Return the current operating mode of a Controller.""" tcs_mode = self._evo_tcs.systemModeStatus["mode"] return HVACMode.OFF if tcs_mode == EVO_HEATOFF else HVACMode.HEAT