56abc7f9b4c7f2ba21b73b51e1df573adfd36d47,homeassistant/components/climate/zwave.py,ZWaveClimate,set_operation_mode,#ZWaveClimate#Any#,227
Before Change
def set_operation_mode(self, operation_mode):
Set new target operation mode.
self.set_value(
class_id=zwave.const.COMMAND_CLASS_THERMOSTAT_MODE,
index=0, data=bytes(operation_mode, "utf-8"))
def set_swing_mode(self, swing_mode):
Set new target swing mode.
if self._zxt_120 == 1:
After Change
def set_operation_mode(self, operation_mode):
Set new target operation mode.
if self.values.mode:
self.values.mode.data = bytes(operation_mode, "utf-8")
def set_swing_mode(self, swing_mode):
Set new target swing mode.
if self._zxt_120 == 1:
if self.values.zxt_120_swing_mode:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 13
Instances
Project Name: home-assistant/home-assistant
Commit Name: 56abc7f9b4c7f2ba21b73b51e1df573adfd36d47
Time: 2017-03-12
Author: adam@armills.info
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_operation_mode
Project Name: home-assistant/home-assistant
Commit Name: 1a7ffdca52fcde3de206009ecd932aceedec2d4d
Time: 2017-03-14
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_fan_mode
Project Name: home-assistant/home-assistant
Commit Name: 56abc7f9b4c7f2ba21b73b51e1df573adfd36d47
Time: 2017-03-12
Author: adam@armills.info
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_fan_mode
Project Name: home-assistant/home-assistant
Commit Name: 1a7ffdca52fcde3de206009ecd932aceedec2d4d
Time: 2017-03-14
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_operation_mode