Add operation_list to radiotherm (#3393)
* Add operation_list to radiotherm * Use constantspull/3411/head
parent
70a79efb77
commit
b58976bc36
|
@ -73,6 +73,7 @@ class RadioThermostat(ClimateDevice):
|
|||
self._name = None
|
||||
self.hold_temp = hold_temp
|
||||
self.update()
|
||||
self._operation_list = [STATE_AUTO, STATE_COOL, STATE_HEAT, STATE_OFF]
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
@ -102,6 +103,11 @@ class RadioThermostat(ClimateDevice):
|
|||
"""Return the current operation. head, cool idle."""
|
||||
return self._current_operation
|
||||
|
||||
@property
|
||||
def operation_list(self):
|
||||
"""Return the operation modes list."""
|
||||
return self._operation_list
|
||||
|
||||
@property
|
||||
def target_temperature(self):
|
||||
"""Return the temperature we try to reach."""
|
||||
|
|
Loading…
Reference in New Issue