mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Fix zwave_js target_temp_low (#47762)
This commit is contained in:
@@ -287,7 +287,12 @@ class ZWaveClimate(ZWaveBaseEntity, ClimateEntity):
|
||||
@property
|
||||
def target_temperature_low(self) -> Optional[float]:
|
||||
"""Return the lowbound target temperature we try to reach."""
|
||||
return self.target_temperature
|
||||
if self._current_mode and self._current_mode.value is None:
|
||||
# guard missing value
|
||||
return None
|
||||
if len(self._current_mode_setpoint_enums) > 1:
|
||||
return self.target_temperature
|
||||
return None
|
||||
|
||||
@property
|
||||
def preset_mode(self) -> Optional[str]:
|
||||
|
Reference in New Issue
Block a user