Add auxheat to ecobee climate (#6562)

* Add auxheat to ecobee

* Add is_aux_heat_on property in ecobee climate
This commit is contained in:
Thibault Cohen authored and Pascal Vizeli committed 2017-04-28 11:52:48 +02:00
1 parent 89164d0244
commit 8114c45b3d
1 file changed
+5
@@ -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')