diff --git a/homeassistant/components/ecobee/climate.py b/homeassistant/components/ecobee/climate.py index fdfd8059d46..62bb3886107 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -490,14 +490,14 @@ class Thermostat(ClimateEntity): return None @property - def fan(self): + def fan(self) -> str: """Return the current fan status.""" if "fan" in self.thermostat["equipmentStatus"]: return STATE_ON return STATE_OFF @property - def fan_mode(self): + def fan_mode(self) -> str: """Return the fan setting.""" return self.thermostat["runtime"]["desiredFanMode"] @@ -535,7 +535,7 @@ class Thermostat(ClimateEntity): return None @property - def hvac_mode(self): + def hvac_mode(self) -> HVACMode: """Return current operation.""" return ECOBEE_HVAC_TO_HASS[self.settings["hvacMode"]] @@ -548,7 +548,7 @@ class Thermostat(ClimateEntity): return None @property - def hvac_action(self): + def hvac_action(self) -> HVACAction: """Return current HVAC action. Ecobee returns a CSV string with different equipment that is active.