d8560a244cf860c710b2833f4552f6e60375a624,homeassistant/components/climate/ecobee.py,Thermostat,set_temperature,#Thermostat#,247

Before Change


            _LOGGER.debug("Setting ecobee temp to: low=%s, is=%s, "
                          "high=%s, is=%s", low_temp, isinstance(
                              low_temp, (int, float)), high_temp,
                          isinstance(high_temp, (int, float)))
        self.update_without_throttle = True

    def set_operation_mode(self, operation_mode):

After Change


            low_temp = temp
            high_temp = temp + 20
        elif self.current_operation == STATE_COOL and temp is not None:
            low_temp = temp - 20
            high_temp = temp
        if low_temp is None and high_temp is None:
            _LOGGER.error(
                "Missing valid arguments for set_temperature in %s", kwargs)
            return

        low_temp = int(low_temp)
        high_temp = int(high_temp)

        if self.hold_temp:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: d8560a244cf860c710b2833f4552f6e60375a624
Time: 2017-01-16
Author: duoxi.lian@gmail.com
File Name: homeassistant/components/climate/ecobee.py
Class Name: Thermostat
Method Name: set_temperature


Project Name: home-assistant/home-assistant
Commit Name: d816ff26adae5164597dbae91fcd124e6de25741
Time: 2017-08-31
Author: mail@dahoiv.net
File Name: homeassistant/components/notify/pushbullet.py
Class Name: PushBulletNotificationService
Method Name: _push_data


Project Name: home-assistant/home-assistant
Commit Name: d16bc632da35a31957ba3ac399dab4769591af17
Time: 2017-03-07
Author: appzer@users.noreply.github.com
File Name: homeassistant/components/notify/pushsafer.py
Class Name: PushsaferNotificationService
Method Name: send_message