d8560a244cf860c710b2833f4552f6e60375a624,homeassistant/components/climate/ecobee.py,Thermostat,set_temperature,#Thermostat#,247
Before Change
else:
self.data.ecobee.set_hold_temp(self.thermostat_index, low_temp,
high_temp)
_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):
Set HVAC mode (auto, auxHeatOnly, cool, heat, off).
After Change
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:
self.data.ecobee.set_hold_temp(
self.thermostat_index, high_temp, low_temp, "indefinite")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: b732174def5894708e90c7d8708e971410a43afd
Time: 2017-01-27
Author: duoxi.lian@gmail.com
File Name: homeassistant/components/climate/ecobee.py
Class Name: Thermostat
Method Name: set_temperature
Project Name: ray-project/ray
Commit Name: c74dc58f8b38bb947b903d3f92efbd8d1cd675ce
Time: 2020-06-05
Author: sven@anyscale.io
File Name: rllib/models/torch/fcnet.py
Class Name: FullyConnectedNetwork
Method Name: __init__