1b79722b6973babddd3b0d86d5028f5750da5cfa,homeassistant/components/climate/knx.py,KNXThermostat,target_temperature,#KNXThermostat#,78

Before Change


        Return the temperature we try to reach.
        from knxip.conversion import knx2_to_float

        return knx2_to_float(self.value("setpoint"))

    def set_temperature(self, **kwargs):
        Set new target temperature.
        temperature = kwargs.get(ATTR_TEMPERATURE)

After Change


    @property
    def target_temperature(self):
        Return the temperature we try to reach.
        return self._target_temp

    def set_temperature(self, **kwargs):
        Set new target temperature.
        temperature = kwargs.get(ATTR_TEMPERATURE)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: 1b79722b6973babddd3b0d86d5028f5750da5cfa
Time: 2016-11-10
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/knx.py
Class Name: KNXThermostat
Method Name: target_temperature


Project Name: home-assistant/home-assistant
Commit Name: 6d0e08cf7ddc31f4baf4a564ab61f91d6c5b6309
Time: 2016-11-08
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/knx.py
Class Name: KNXThermostat
Method Name: target_temperature


Project Name: home-assistant/home-assistant
Commit Name: 6d0e08cf7ddc31f4baf4a564ab61f91d6c5b6309
Time: 2016-11-08
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/knx.py
Class Name: KNXThermostat
Method Name: current_temperature


Project Name: home-assistant/home-assistant
Commit Name: 1b79722b6973babddd3b0d86d5028f5750da5cfa
Time: 2016-11-10
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/climate/knx.py
Class Name: KNXThermostat
Method Name: current_temperature