def __init__(self, ember, zone): """Initialize the thermostat.""" self._ember = ember self._zone_name = zone_name(zone) self._zone = zone self._hot_water = zone_is_hot_water(zone) self._attr_name = self._zone_name self._attr_supported_features = ( ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.AUX_HEAT) self._attr_target_temperature_step = 0.5 if self._hot_water: self._attr_supported_features = ClimateEntityFeature.AUX_HEAT self._attr_target_temperature_step = None
def __init__(self, ember, zone): """Initialize the thermostat.""" self._ember = ember self._zone_name = zone_name(zone) self._zone = zone self._hot_water = zone_is_hot_water(zone)