mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Setpoint in Matter climate platform (#101929)
fix matter max setpoint
This commit is contained in:
parent
53e97fee0e
commit
4e9ec82082
@ -250,9 +250,9 @@ class MatterClimate(MatterEntity, ClimateEntity):
|
|||||||
self._attr_min_temp = DEFAULT_MIN_TEMP
|
self._attr_min_temp = DEFAULT_MIN_TEMP
|
||||||
# update max_temp
|
# update max_temp
|
||||||
if self._attr_hvac_mode in (HVACMode.COOL, HVACMode.HEAT_COOL):
|
if self._attr_hvac_mode in (HVACMode.COOL, HVACMode.HEAT_COOL):
|
||||||
attribute = clusters.Thermostat.Attributes.AbsMaxHeatSetpointLimit
|
|
||||||
else:
|
|
||||||
attribute = clusters.Thermostat.Attributes.AbsMaxCoolSetpointLimit
|
attribute = clusters.Thermostat.Attributes.AbsMaxCoolSetpointLimit
|
||||||
|
else:
|
||||||
|
attribute = clusters.Thermostat.Attributes.AbsMaxHeatSetpointLimit
|
||||||
if (value := self._get_temperature_in_degrees(attribute)) is not None:
|
if (value := self._get_temperature_in_degrees(attribute)) is not None:
|
||||||
self._attr_max_temp = value
|
self._attr_max_temp = value
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user