mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add auxheat to ecobee climate (#6562)
* Add auxheat to ecobee * Add is_aux_heat_on property in ecobee climate
This commit is contained in:
parent
89164d0244
commit
8114c45b3d
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user