b4635db5ac634980729e86398629ee38efdd9722,homeassistant/components/climate/radiotherm.py,RadioThermostat,set_temperature,#RadioThermostat#,189

Before Change


            self.device.t_heat = round(temperature * 2.0) / 2.0
        elif self._current_operation == STATE_AUTO:
            if self._tstate == "Cool":
                self.device.t_cool = round(temperature * 2.0) / 2.0
            elif self._tstate == "Heat":
                self.device.t_heat = round(temperature * 2.0) / 2.0

After Change



        // Only change the hold if requested or if hold mode was turned
        // on and we haven"t set it yet.
        if kwargs.get("hold_changed", False) or not self._hold_set:
            if self._hold_temp or self._away:
                self.device.hold = 1
                self._hold_set = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: home-assistant/home-assistant
Commit Name: b4635db5ac634980729e86398629ee38efdd9722
Time: 2017-11-22
Author: ted.drain@gmail.com
File Name: homeassistant/components/climate/radiotherm.py
Class Name: RadioThermostat
Method Name: set_temperature


Project Name: WZBSocialScienceCenter/tmtoolkit
Commit Name: 098f69b7c2282a556fc0b57d37b70328457de834
Time: 2017-10-11
Author: markus.konrad@wzb.eu
File Name: tmtoolkit/lda_utils/evaluation_lda.py
Class Name: MultiprocEvaluationWorkerLDA
Method Name: fit_model_using_params


Project Name: home-assistant/home-assistant
Commit Name: 5ecdd06bd5117bf782a34705c7c1b22691a93e3e
Time: 2015-12-15
Author: philiplundrigan@gmail.com
File Name: homeassistant/components/sensor/arest.py
Class Name: ArestSensor
Method Name: state