mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix HM with use wrong datapoint for off (#25298)
This commit is contained in:
committed by
Paulus Schoutsen
parent
8629b86186
commit
49e2583b08
@@ -66,7 +66,7 @@ class HMThermostat(HMDevice, ClimateDevice):
|
|||||||
|
|
||||||
Need to be one of HVAC_MODE_*.
|
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
|
return HVAC_MODE_OFF
|
||||||
if "MANU_MODE" in self._hmdevice.ACTIONNODE:
|
if "MANU_MODE" in self._hmdevice.ACTIONNODE:
|
||||||
if self._hm_controll_mode == self._hmdevice.MANU_MODE:
|
if self._hm_controll_mode == self._hmdevice.MANU_MODE:
|
||||||
|
Reference in New Issue
Block a user