mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
If device was off target temp was null. Default to Heating setpoint (#3091)
This commit is contained in:
parent
4b12ea04d6
commit
571cbdf40c
@ -150,7 +150,8 @@ class ZWaveClimate(ZWaveDeviceEntity, ClimateDevice):
|
|||||||
# Set point
|
# Set point
|
||||||
for value in self._node.get_values(
|
for value in self._node.get_values(
|
||||||
class_id=COMMAND_CLASS_THERMOSTAT_SETPOINT).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) \
|
if SET_TEMP_TO_INDEX.get(self._current_operation) \
|
||||||
!= value.index:
|
!= value.index:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user