Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.radiotherm.climate Namespace Reference

Classes

class  RadioThermostat
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
def round_temp (temperature)
 

Variables

string ATTR_FAN_ACTION = "fan_action"
 
dictionary CODE_TO_FAN_MODE = {0: FAN_AUTO, 1: STATE_CIRCULATE, 2: FAN_ON}
 
dictionary CODE_TO_FAN_STATE = {0: FAN_OFF, 1: FAN_ON}
 
dictionary CODE_TO_PRESET_MODE = {v: k for k, v in PRESET_MODE_TO_CODE.items()}
 
dictionary CODE_TO_TEMP_MODE
 
dictionary CODE_TO_TEMP_STATE = {0: HVACAction.IDLE, 1: HVACAction.HEATING, 2: HVACAction.COOLING}
 
string CONF_HOLD_TEMP = "hold_temp"
 
list CT30_FAN_OPERATION_LIST = [FAN_ON, FAN_AUTO]
 
list CT80_FAN_OPERATION_LIST = [FAN_ON, STATE_CIRCULATE, FAN_AUTO]
 
dictionary FAN_MODE_TO_CODE = {v: k for k, v in CODE_TO_FAN_MODE.items()}
 
list OPERATION_LIST = [HVACMode.AUTO, HVACMode.COOL, HVACMode.HEAT, HVACMode.OFF]
 
int PARALLEL_UPDATES = 1
 
string PRESET_ALTERNATE = "alternate"
 
string PRESET_HOLIDAY = "holiday"
 
dictionary PRESET_MODE_TO_CODE
 
list PRESET_MODES = [PRESET_HOME, PRESET_ALTERNATE, PRESET_AWAY, PRESET_HOLIDAY]
 
string STATE_CIRCULATE = "circulate"
 
dictionary TEMP_MODE_TO_CODE = {v: k for k, v in CODE_TO_TEMP_MODE.items()}
 

Detailed Description

Support for Radio Thermostat wifi-enabled home thermostats.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.radiotherm.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up climate for a radiotherm device.

Definition at line 93 of file climate.py.

◆ round_temp()

def homeassistant.components.radiotherm.climate.round_temp (   temperature)
Round a temperature to the resolution of the thermostat.

RadioThermostats can handle 0.5 degree temps so the input
temperature is rounded to that value and returned.

Definition at line 84 of file climate.py.

Variable Documentation

◆ ATTR_FAN_ACTION

string homeassistant.components.radiotherm.climate.ATTR_FAN_ACTION = "fan_action"

Definition at line 29 of file climate.py.

◆ CODE_TO_FAN_MODE

dictionary homeassistant.components.radiotherm.climate.CODE_TO_FAN_MODE = {0: FAN_AUTO, 1: STATE_CIRCULATE, 2: FAN_ON}

Definition at line 57 of file climate.py.

◆ CODE_TO_FAN_STATE

dictionary homeassistant.components.radiotherm.climate.CODE_TO_FAN_STATE = {0: FAN_OFF, 1: FAN_ON}

Definition at line 67 of file climate.py.

◆ CODE_TO_PRESET_MODE

dictionary homeassistant.components.radiotherm.climate.CODE_TO_PRESET_MODE = {v: k for k, v in PRESET_MODE_TO_CODE.items()}

Definition at line 76 of file climate.py.

◆ CODE_TO_TEMP_MODE

dictionary homeassistant.components.radiotherm.climate.CODE_TO_TEMP_MODE
Initial value:
1 = {
2  0: HVACMode.OFF,
3  1: HVACMode.HEAT,
4  2: HVACMode.COOL,
5  3: HVACMode.AUTO,
6 }

Definition at line 48 of file climate.py.

◆ CODE_TO_TEMP_STATE

dictionary homeassistant.components.radiotherm.climate.CODE_TO_TEMP_STATE = {0: HVACAction.IDLE, 1: HVACAction.HEATING, 2: HVACAction.COOLING}

Definition at line 63 of file climate.py.

◆ CONF_HOLD_TEMP

string homeassistant.components.radiotherm.climate.CONF_HOLD_TEMP = "hold_temp"

Definition at line 81 of file climate.py.

◆ CT30_FAN_OPERATION_LIST

list homeassistant.components.radiotherm.climate.CT30_FAN_OPERATION_LIST = [FAN_ON, FAN_AUTO]

Definition at line 40 of file climate.py.

◆ CT80_FAN_OPERATION_LIST

list homeassistant.components.radiotherm.climate.CT80_FAN_OPERATION_LIST = [FAN_ON, STATE_CIRCULATE, FAN_AUTO]

Definition at line 41 of file climate.py.

◆ FAN_MODE_TO_CODE

dictionary homeassistant.components.radiotherm.climate.FAN_MODE_TO_CODE = {v: k for k, v in CODE_TO_FAN_MODE.items()}

Definition at line 59 of file climate.py.

◆ OPERATION_LIST

list homeassistant.components.radiotherm.climate.OPERATION_LIST = [HVACMode.AUTO, HVACMode.COOL, HVACMode.HEAT, HVACMode.OFF]

Definition at line 39 of file climate.py.

◆ PARALLEL_UPDATES

int homeassistant.components.radiotherm.climate.PARALLEL_UPDATES = 1

Definition at line 79 of file climate.py.

◆ PRESET_ALTERNATE

string homeassistant.components.radiotherm.climate.PRESET_ALTERNATE = "alternate"

Definition at line 33 of file climate.py.

◆ PRESET_HOLIDAY

string homeassistant.components.radiotherm.climate.PRESET_HOLIDAY = "holiday"

Definition at line 31 of file climate.py.

◆ PRESET_MODE_TO_CODE

dictionary homeassistant.components.radiotherm.climate.PRESET_MODE_TO_CODE
Initial value:
1 = {
2  PRESET_HOME: 0,
3  PRESET_ALTERNATE: 1,
4  PRESET_AWAY: 2,
5  PRESET_HOLIDAY: 3,
6 }

Definition at line 69 of file climate.py.

◆ PRESET_MODES

list homeassistant.components.radiotherm.climate.PRESET_MODES = [PRESET_HOME, PRESET_ALTERNATE, PRESET_AWAY, PRESET_HOLIDAY]

Definition at line 37 of file climate.py.

◆ STATE_CIRCULATE

string homeassistant.components.radiotherm.climate.STATE_CIRCULATE = "circulate"

Definition at line 35 of file climate.py.

◆ TEMP_MODE_TO_CODE

dictionary homeassistant.components.radiotherm.climate.TEMP_MODE_TO_CODE = {v: k for k, v in CODE_TO_TEMP_MODE.items()}

Definition at line 54 of file climate.py.