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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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