mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00: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:
parent
17cfcc981d
commit
1663cc9084
@ -145,7 +145,7 @@ class GenericThermostat(ClimateDevice):
|
|||||||
def max_temp(self):
|
def max_temp(self):
|
||||||
"""Return the maximum temperature."""
|
"""Return the maximum temperature."""
|
||||||
# pylint: disable=no-member
|
# pylint: disable=no-member
|
||||||
if self._min_temp:
|
if self._max_temp:
|
||||||
return self._max_temp
|
return self._max_temp
|
||||||
else:
|
else:
|
||||||
# Get default temp from super class
|
# Get default temp from super class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user