From 1663cc9084fac4105819577dbff72034c77aa9fc Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 11 Nov 2016 11:42:58 -0500 Subject: [PATCH] Fix typo in generic thermostat (#4348) It looks like a copy / paste error was made when doing the min/max code. This fixes that. --- homeassistant/components/climate/generic_thermostat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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