From e33a3bb94a67a3ffede2c77031780ea09a8db5ed Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen <balloob@gmail.com>
Date: Fri, 3 Jul 2020 12:04:13 -0700
Subject: [PATCH] Stub out ecobee aux heat services (#37423)

---
 homeassistant/components/ecobee/climate.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/homeassistant/components/ecobee/climate.py b/homeassistant/components/ecobee/climate.py
index a65029fa4cd..4aeb52b60ff 100644
--- a/homeassistant/components/ecobee/climate.py
+++ b/homeassistant/components/ecobee/climate.py
@@ -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:
-- 
GitLab