Just ignore illegal target temp, do not throw away all data (#635)
Co-authored-by: Gernot Messow <gmessow@insys-locks.de>
This commit is contained in:
@@ -725,7 +725,7 @@ class ThermostatOverClimate(BaseThermostat[UnderlyingClimate]):
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Forget event when the new target temperature is out of range
|
# Ignore new target temperature when out of range
|
||||||
if (
|
if (
|
||||||
not new_target_temp is None
|
not new_target_temp is None
|
||||||
and not self._attr_min_temp is None
|
and not self._attr_min_temp is None
|
||||||
@@ -739,7 +739,8 @@ class ThermostatOverClimate(BaseThermostat[UnderlyingClimate]):
|
|||||||
self._attr_min_temp,
|
self._attr_min_temp,
|
||||||
self._attr_max_temp,
|
self._attr_max_temp,
|
||||||
)
|
)
|
||||||
return
|
new_target_temp = None
|
||||||
|
under_temp_diff = 0
|
||||||
|
|
||||||
# A real changes have to be managed
|
# A real changes have to be managed
|
||||||
_LOGGER.info(
|
_LOGGER.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user