Add typing to smartthings climate target_temperature_low (#143713)

Fix climate target_temperature_low
This commit is contained in:
Wilbert
2025-05-07 13:06:07 +02:00
committed by GitHub
parent a2ab28286f
commit f7d8e4e7b9

View File

@@ -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(