0589379de5462567ba3f8b7edd31d22a5f08f41b,homeassistant/components/homekit/type_thermostats.py,Thermostat,set_cooling_threshold,#Thermostat#Any#,110
 
Before Change
                      self.entity_id, value)
        self.coolingthresh_flag_target_state = True
        low = self.char_heating_thresh_temp.value
        low = temperature_to_states(low, self._unit)
        value = temperature_to_states(value, self._unit)
        self.hass.components.climate.set_temperature(
            entity_id=self.entity_id, target_temp_high=value,
            target_temp_low=low)
    @debounce
    def set_heating_threshold(self, value):
        Set heating threshold temp to value if call came from HomeKit.
After Change
                      self.entity_id, value)
        self.coolingthresh_flag_target_state = True
        low = self.char_heating_thresh_temp.value
        params = {
            ATTR_ENTITY_ID: self.entity_id,
            ATTR_TARGET_TEMP_HIGH: temperature_to_states(value, self._unit),
            ATTR_TARGET_TEMP_LOW: temperature_to_states(low, self._unit)}
        self.hass.services.call(DOMAIN, SERVICE_SET_TEMPERATURE, params)
    @debounce
    def set_heating_threshold(self, value):
        Set heating threshold temp to value if call came from HomeKit.

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 18
Instances
 Project Name: home-assistant/home-assistant
 Commit Name: 0589379de5462567ba3f8b7edd31d22a5f08f41b
 Time: 2018-05-20
 Author: 30130371+cdce8p@users.noreply.github.com
 File Name: homeassistant/components/homekit/type_thermostats.py
 Class Name: Thermostat
 Method Name: set_cooling_threshold
 Project Name: home-assistant/home-assistant
 Commit Name: 0589379de5462567ba3f8b7edd31d22a5f08f41b
 Time: 2018-05-20
 Author: 30130371+cdce8p@users.noreply.github.com
 File Name: homeassistant/components/homekit/type_thermostats.py
 Class Name: Thermostat
 Method Name: set_heating_threshold
 Project Name: home-assistant/home-assistant
 Commit Name: 2f8865d6cb64b252254874589a722cb886c405b8
 Time: 2018-05-21
 Author: 30130371+cdce8p@users.noreply.github.com
 File Name: homeassistant/components/homekit/type_thermostats.py
 Class Name: Thermostat
 Method Name: set_heating_threshold
 Project Name: home-assistant/home-assistant
 Commit Name: 2f8865d6cb64b252254874589a722cb886c405b8
 Time: 2018-05-21
 Author: 30130371+cdce8p@users.noreply.github.com
 File Name: homeassistant/components/homekit/type_thermostats.py
 Class Name: Thermostat
 Method Name: set_cooling_threshold