mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Sensibo, add HVAC_MODE_OFF (#25016)
This commit is contained in:
parent
ab832cda71
commit
662e0dde80
@ -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…
x
Reference in New Issue
Block a user