Sensibo, add HVAC_MODE_OFF (#25016)
This commit is contained in:
parent
ab832cda71
commit
662e0dde80
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,8 @@ class SensiboClimate(ClimateDevice):
|
|||
@property
|
||||
def hvac_mode(self):
|
||||
"""Return current operation ie. heat, cool, idle."""
|
||||
if not self._ac_states['on']:
|
||||
return HVAC_MODE_OFF
|
||||
return SENSIBO_TO_HA.get(self._ac_states['mode'])
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Reference in a new issue