mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add typing to smartthings climate target_temperature_low (#143713)
Fix climate target_temperature_low
This commit is contained in:
parent
a2ab28286f
commit
f7d8e4e7b9
@ -307,7 +307,7 @@ class SmartThingsThermostat(SmartThingsEntity, ClimateEntity):
|
||||
return None
|
||||
|
||||
@property
|
||||
def target_temperature_low(self):
|
||||
def target_temperature_low(self) -> float | None:
|
||||
"""Return the lowbound target temperature we try to reach."""
|
||||
if self.hvac_mode == HVACMode.HEAT_COOL:
|
||||
return self.get_attribute_value(
|
||||
|
Loading…
x
Reference in New Issue
Block a user