Fix sensibo's min/max_temp properties (#12996)

The super class has these as properties, not regular methods
pull/13061/head
John Allen 2018-03-10 03:52:45 -05:00 committed by Paulus Schoutsen
parent 266b13b3cb
commit 5726159dd4
1 changed files with 2 additions and 2 deletions

View File

@ -240,13 +240,13 @@ class SensiboClimate(ClimateDevice):
def min_temp(self):
"""Return the minimum temperature."""
return self._temperatures_list[0] \
if self._temperatures_list else super().min_temp()
if self._temperatures_list else super().min_temp
@property
def max_temp(self):
"""Return the maximum temperature."""
return self._temperatures_list[-1] \
if self._temperatures_list else super().max_temp()
if self._temperatures_list else super().max_temp
@asyncio.coroutine
def async_set_temperature(self, **kwargs):