diff --git a/homeassistant/components/climate/generic_thermostat.py b/homeassistant/components/climate/generic_thermostat.py index 3030ea9090e..baa09439c2c 100644 --- a/homeassistant/components/climate/generic_thermostat.py +++ b/homeassistant/components/climate/generic_thermostat.py @@ -145,7 +145,7 @@ class GenericThermostat(ClimateDevice): def max_temp(self): """Return the maximum temperature.""" # pylint: disable=no-member - if self._min_temp: + if self._max_temp: return self._max_temp else: # Get default temp from super class