0706ae70dc9114f6755afa65f12f6d5023b21518,homeassistant/components/maxcube/climate.py,MaxCubeClimate,target_temperature,#MaxCubeClimate#,200
Before Change
@property
def target_temperature(self):
Return the temperature we try to reach.
device = self._cubehandle.cube.device_by_rf(self._rf_address)
if (
device.target_temperature is None
or device.target_temperature < self.min_temp
or device.target_temperature > self.max_temp
):
return None
return device.target_temperature
def set_temperature(self, **kwargs):
Set new target temperatures.
if kwargs.get(ATTR_TEMPERATURE) is None:
After Change
temp = self._device.target_temperature
if temp is None or temp < self.min_temp or temp > self.max_temp:
return None
return temp
def set_temperature(self, **kwargs):
Set new target temperatures.
temp = kwargs.get(ATTR_TEMPERATURE)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: home-assistant/home-assistant
Commit Name: 0706ae70dc9114f6755afa65f12f6d5023b21518
Time: 2021-03-27
Author: unaiur@gmail.com
File Name: homeassistant/components/maxcube/climate.py
Class Name: MaxCubeClimate
Method Name: target_temperature
Project Name: home-assistant/home-assistant
Commit Name: 0706ae70dc9114f6755afa65f12f6d5023b21518
Time: 2021-03-27
Author: unaiur@gmail.com
File Name: homeassistant/components/maxcube/climate.py
Class Name: MaxCubeClimate
Method Name: max_temp
Project Name: home-assistant/home-assistant
Commit Name: 0706ae70dc9114f6755afa65f12f6d5023b21518
Time: 2021-03-27
Author: unaiur@gmail.com
File Name: homeassistant/components/maxcube/climate.py
Class Name: MaxCubeClimate
Method Name: target_temperature
Project Name: home-assistant/home-assistant
Commit Name: 0706ae70dc9114f6755afa65f12f6d5023b21518
Time: 2021-03-27
Author: unaiur@gmail.com
File Name: homeassistant/components/maxcube/climate.py
Class Name: MaxCubeClimate
Method Name: preset_mode