1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-02 13:44:32 +01:00

Fix typo in generic thermostat (#4348)

It looks like a copy / paste error was made when doing the min/max
code. This fixes that.
This commit is contained in:
Sean Dague
2016-11-11 11:42:58 -05:00
committed by Fabian Affolter
parent 17cfcc981d
commit 1663cc9084
@@ -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