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 2017-04-28 05:52:48 -04:00 committed by Pascal Vizeli
parent 89164d0244
commit 8114c45b3d

View File

@ -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')