forked from home-assistant/core
Add typing to smartthings climate target_temperature_low (#143713)
Fix climate target_temperature_low
This commit is contained in:
@@ -307,7 +307,7 @@ class SmartThingsThermostat(SmartThingsEntity, ClimateEntity):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def target_temperature_low(self):
|
def target_temperature_low(self) -> float | None:
|
||||||
"""Return the lowbound target temperature we try to reach."""
|
"""Return the lowbound target temperature we try to reach."""
|
||||||
if self.hvac_mode == HVACMode.HEAT_COOL:
|
if self.hvac_mode == HVACMode.HEAT_COOL:
|
||||||
return self.get_attribute_value(
|
return self.get_attribute_value(
|
||||||
|
Reference in New Issue
Block a user