Skip to content

Commit

Permalink
Show off value (#25236)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jul 18, 2019
1 parent 2accd8e commit 75ad5f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions homeassistant/components/homematic/climate.py
Expand Up @@ -66,6 +66,8 @@ def hvac_mode(self):
Need to be one of HVAC_MODE_*.
"""
if self.current_temperature <= self._hmdevice.OFF_VALUE + 0.5:
return HVAC_MODE_OFF
if "MANU_MODE" in self._hmdevice.ACTIONNODE:
if self._hm_controll_mode == self._hmdevice.MANU_MODE:
return HVAC_MODE_HEAT
Expand Down Expand Up @@ -157,12 +159,12 @@ def set_preset_mode(self, preset_mode: str) -> None:

@property
def min_temp(self):
"""Return the minimum temperature - 4.5 means off."""
"""Return the minimum temperature."""
return 4.5

@property
def max_temp(self):
"""Return the maximum temperature - 30.5 means on."""
"""Return the maximum temperature."""
return 30.5

@property
Expand Down

0 comments on commit 75ad5f8

Please sign in to comment.