diff --git a/homeassistant/components/ecobee/climate.py b/homeassistant/components/ecobee/climate.py index d256d241a4f..6a96b5418b6 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -303,6 +303,9 @@ async def async_setup_entry( class Thermostat(ClimateEntity): """A thermostat class for Ecobee.""" + _attr_precision = PRECISION_TENTHS + _attr_temperature_unit = TEMP_FAHRENHEIT + def __init__(self, data, thermostat_index, thermostat): """Initialize the thermostat.""" self.data = data @@ -381,16 +384,6 @@ class Thermostat(ClimateEntity): name=self.name, ) - @property - def temperature_unit(self): - """Return the unit of measurement.""" - return TEMP_FAHRENHEIT - - @property - def precision(self) -> float: - """Return the precision of the system.""" - return PRECISION_TENTHS - @property def current_temperature(self) -> float: """Return the current temperature."""