1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

Stub out ecobee aux heat services (#37423)

This commit is contained in:
Paulus Schoutsen
2020-07-03 12:04:13 -07:00
committed by GitHub
parent 07f3d6ebd8
commit e33a3bb94a

View File

@@ -472,6 +472,16 @@ class Thermostat(ClimateEntity):
"""Return true if aux heater."""
return "auxHeat" in self.thermostat["equipmentStatus"]
async def async_turn_aux_heat_on(self) -> None:
"""Turn auxiliary heater on."""
if not self.is_aux_heat:
_LOGGER.warning("# Changing aux heat is not supported")
async def async_turn_aux_heat_off(self) -> None:
"""Turn auxiliary heater off."""
if self.is_aux_heat:
_LOGGER.warning("# Changing aux heat is not supported")
def set_preset_mode(self, preset_mode):
"""Activate a preset."""
if preset_mode == self.preset_mode: