From 8114c45b3dcf8c8208f00cf09575f1d1d88e3765 Mon Sep 17 00:00:00 2001 From: Thibault Cohen Date: Fri, 28 Apr 2017 05:52:48 -0400 Subject: [PATCH] Add auxheat to ecobee climate (#6562) * Add auxheat to ecobee * Add is_aux_heat_on property in ecobee climate --- homeassistant/components/climate/ecobee.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/climate/ecobee.py b/homeassistant/components/climate/ecobee.py index c9403fbf2ed..17155ffa791 100644 --- a/homeassistant/components/climate/ecobee.py +++ b/homeassistant/components/climate/ecobee.py @@ -278,6 +278,11 @@ class Thermostat(ClimateDevice): """Return true if away mode is on.""" return self.current_hold_mode == 'away' + @property + def is_aux_heat_on(self): + """Return true if aux heater.""" + return 'auxHeat' in self.thermostat['equipmentStatus'] + def turn_away_mode_on(self): """Turn away on.""" self.set_hold_mode('away')