If device was off target temp was null. Default to Heating setpoint (#3091)
This commit is contained in:
parent
4b12ea04d6
commit
571cbdf40c
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ class ZWaveClimate(ZWaveDeviceEntity, ClimateDevice):
|
|||
# Set point
|
||||
for value in self._node.get_values(
|
||||
class_id=COMMAND_CLASS_THERMOSTAT_SETPOINT).values():
|
||||
if self.current_operation is not None:
|
||||
if self.current_operation is not None and \
|
||||
self.current_operation != 'Off':
|
||||
if SET_TEMP_TO_INDEX.get(self._current_operation) \
|
||||
!= value.index:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue