mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix HM with use wrong datapoint for off (#25298)
This commit is contained in:
parent
5015311d6b
commit
b9c6758dba
@ -66,7 +66,7 @@ class HMThermostat(HMDevice, ClimateDevice):
|
||||
|
||||
Need to be one of HVAC_MODE_*.
|
||||
"""
|
||||
if self.current_temperature <= self._hmdevice.OFF_VALUE + 0.5:
|
||||
if self.target_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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user