mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Tado add proper off state (#135480)
* Add proper off state * Remove current temp * Add default frost temp
This commit is contained in:
parent
5283e1a39f
commit
1ab5bdf85f
@ -477,11 +477,9 @@ class TadoClimate(TadoZoneEntity, ClimateEntity):
|
||||
@property
|
||||
def target_temperature(self) -> float | None:
|
||||
"""Return the temperature we try to reach."""
|
||||
# If the target temperature will be None
|
||||
# if the device is performing an action
|
||||
# that does not affect the temperature or
|
||||
# the device is switching states
|
||||
return self._tado_zone_data.target_temp or self._tado_zone_data.current_temp
|
||||
if self._current_tado_hvac_mode == CONST_MODE_OFF:
|
||||
return TADO_DEFAULT_MIN_TEMP
|
||||
return self._tado_zone_data.target_temp
|
||||
|
||||
async def set_timer(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user