style fix in heat control
parent
758c0aae24
commit
2e89f0a8c7
|
@ -1 +1 @@
|
|||
Subproject commit 300f3582a61b5781431778cd2f44bef05d49baf3
|
||||
Subproject commit c130933f45262dd1c7b4fd75d23a90c132fb271f
|
|
@ -111,19 +111,21 @@ class HeatControl(ThermostatDevice):
|
|||
@property
|
||||
def min_temp(self):
|
||||
""" Return minimum temperature. """
|
||||
# pylint: disable=no-member
|
||||
if self._min_temp:
|
||||
return self._min_temp
|
||||
else:
|
||||
# pylint: disable=no-member
|
||||
# get default temp from super class
|
||||
return ThermostatDevice.min_temp.fget(self)
|
||||
|
||||
@property
|
||||
def max_temp(self):
|
||||
""" Return maximum temperature. """
|
||||
# pylint: disable=no-member
|
||||
if self._min_temp:
|
||||
return self._max_temp
|
||||
else:
|
||||
# pylint: disable=no-member
|
||||
# get default temp from super class
|
||||
return ThermostatDevice.max_temp.fget(self)
|
||||
|
||||
def _sensor_changed(self, entity_id, old_state, new_state):
|
||||
|
|
Loading…
Reference in New Issue