Skip to content

Commit 93aa478

Browse files
bdracoballoob
authored andcommitted
Restore ability to overwrite homekit max temp bound (#34612)
1 parent 513f33f commit 93aa478

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

homeassistant/components/homekit/type_thermostats.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,11 @@ def __init__(self, *args):
119119
self._unit = self.hass.config.units.temperature_unit
120120
min_temp, max_temp = self.get_temperature_range()
121121

122-
# Homekit only supports 10-38
122+
# Homekit only supports 10-38, overwriting
123+
# the max to appears to work, but less than 10 causes
124+
# a crash on the home app
123125
hc_min_temp = max(min_temp, HC_MIN_TEMP)
124-
hc_max_temp = min(max_temp, HC_MAX_TEMP)
126+
hc_max_temp = max_temp
125127

126128
min_humidity = self.hass.states.get(self.entity_id).attributes.get(
127129
ATTR_MIN_HUMIDITY, DEFAULT_MIN_HUMIDITY

0 commit comments

Comments
 (0)