Fix sensibo's min/max_temp properties (#12996)
The super class has these as properties, not regular methodspull/13061/head
parent
266b13b3cb
commit
5726159dd4
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue