58826b264a37ecfc4e041dcd78ead2bc2a9e5f34,homeassistant/components/climate/zwave.py,ZWaveClimate,set_fan_mode,#ZWaveClimate#Any#,194

Before Change



    def set_fan_mode(self, fan):
        Set new target fan mode.
        if self.values.fan_mode:
            self.values.fan_mode.data = bytes(fan, "utf-8")

    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")

After Change



    def set_fan_mode(self, fan):
        Set new target fan mode.
        self.set_value(
            class_id=zwave.const.COMMAND_CLASS_THERMOSTAT_FAN_MODE,
            index=0, data=bytes(fan, "utf-8"))

    def set_operation_mode(self, operation_mode):
        Set new target operation mode.
        self.set_value(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: home-assistant/home-assistant
Commit Name: 58826b264a37ecfc4e041dcd78ead2bc2a9e5f34
Time: 2017-03-12
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: 58826b264a37ecfc4e041dcd78ead2bc2a9e5f34
Time: 2017-03-12
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_operation_mode


Project Name: home-assistant/home-assistant
Commit Name: 58826b264a37ecfc4e041dcd78ead2bc2a9e5f34
Time: 2017-03-12
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/zwave.py
Class Name: ZWaveClimate
Method Name: set_swing_mode