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

Variables

 __all__ = all_with_deprecated_constants(globals())
 
 __dir__
 
 __getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
 
 _DEPRECATED_CURRENT_HVAC_COOL = DeprecatedConstantEnum(HVACAction.COOLING, "2025.1")
 
 _DEPRECATED_CURRENT_HVAC_DRY = DeprecatedConstantEnum(HVACAction.DRYING, "2025.1")
 
 _DEPRECATED_CURRENT_HVAC_FAN = DeprecatedConstantEnum(HVACAction.FAN, "2025.1")
 
 _DEPRECATED_CURRENT_HVAC_HEAT = DeprecatedConstantEnum(HVACAction.HEATING, "2025.1")
 
 _DEPRECATED_CURRENT_HVAC_IDLE = DeprecatedConstantEnum(HVACAction.IDLE, "2025.1")
 
 _DEPRECATED_CURRENT_HVAC_OFF = DeprecatedConstantEnum(HVACAction.OFF, "2025.1")
 
 _DEPRECATED_HVAC_MODE_AUTO = DeprecatedConstantEnum(HVACMode.AUTO, "2025.1")
 
 _DEPRECATED_HVAC_MODE_COOL = DeprecatedConstantEnum(HVACMode.COOL, "2025.1")
 
 _DEPRECATED_HVAC_MODE_DRY = DeprecatedConstantEnum(HVACMode.DRY, "2025.1")
 
 _DEPRECATED_HVAC_MODE_FAN_ONLY = DeprecatedConstantEnum(HVACMode.FAN_ONLY, "2025.1")
 
 _DEPRECATED_HVAC_MODE_HEAT = DeprecatedConstantEnum(HVACMode.HEAT, "2025.1")
 
 _DEPRECATED_HVAC_MODE_HEAT_COOL = DeprecatedConstantEnum(HVACMode.HEAT_COOL, "2025.1")
 
 _DEPRECATED_HVAC_MODE_OFF = DeprecatedConstantEnum(HVACMode.OFF, "2025.1")
 
 _DEPRECATED_SUPPORT_AUX_HEAT
 
 _DEPRECATED_SUPPORT_FAN_MODE
 
 _DEPRECATED_SUPPORT_PRESET_MODE
 
 _DEPRECATED_SUPPORT_SWING_MODE
 
 _DEPRECATED_SUPPORT_TARGET_HUMIDITY
 
 _DEPRECATED_SUPPORT_TARGET_TEMPERATURE
 
 _DEPRECATED_SUPPORT_TARGET_TEMPERATURE_RANGE
 
string ATTR_AUX_HEAT = "aux_heat"
 
string ATTR_CURRENT_HUMIDITY = "current_humidity"
 
string ATTR_CURRENT_TEMPERATURE = "current_temperature"
 
string ATTR_FAN_MODE = "fan_mode"
 
string ATTR_FAN_MODES = "fan_modes"
 
string ATTR_HUMIDITY = "humidity"
 
string ATTR_HVAC_ACTION = "hvac_action"
 
string ATTR_HVAC_MODE = "hvac_mode"
 
string ATTR_HVAC_MODES = "hvac_modes"
 
string ATTR_MAX_HUMIDITY = "max_humidity"
 
string ATTR_MAX_TEMP = "max_temp"
 
string ATTR_MIN_HUMIDITY = "min_humidity"
 
string ATTR_MIN_TEMP = "min_temp"
 
string ATTR_PRESET_MODE = "preset_mode"
 
string ATTR_PRESET_MODES = "preset_modes"
 
string ATTR_SWING_HORIZONTAL_MODE = "swing_horizontal_mode"
 
string ATTR_SWING_HORIZONTAL_MODES = "swing_horizontal_modes"
 
string ATTR_SWING_MODE = "swing_mode"
 
string ATTR_SWING_MODES = "swing_modes"
 
string ATTR_TARGET_TEMP_HIGH = "target_temp_high"
 
string ATTR_TARGET_TEMP_LOW = "target_temp_low"
 
string ATTR_TARGET_TEMP_STEP = "target_temp_step"
 
list CURRENT_HVAC_ACTIONS = [cls.value for cls in HVACAction]
 
int DEFAULT_MAX_HUMIDITY = 99
 
int DEFAULT_MAX_TEMP = 35
 
int DEFAULT_MIN_HUMIDITY = 30
 
int DEFAULT_MIN_TEMP = 7
 
string DOMAIN = "climate"
 
string FAN_AUTO = "auto"
 
string FAN_DIFFUSE = "diffuse"
 
string FAN_FOCUS = "focus"
 
string FAN_HIGH = "high"
 
string FAN_LOW = "low"
 
string FAN_MEDIUM = "medium"
 
string FAN_MIDDLE = "middle"
 
string FAN_OFF = "off"
 
string FAN_ON = "on"
 
string FAN_TOP = "top"
 
list HVAC_MODES = [cls.value for cls in HVACMode]
 
string INTENT_GET_TEMPERATURE = "HassClimateGetTemperature"
 
string PRESET_ACTIVITY = "activity"
 
string PRESET_AWAY = "away"
 
string PRESET_BOOST = "boost"
 
string PRESET_COMFORT = "comfort"
 
string PRESET_ECO = "eco"
 
string PRESET_HOME = "home"
 
string PRESET_NONE = "none"
 
string PRESET_SLEEP = "sleep"
 
string SERVICE_SET_AUX_HEAT = "set_aux_heat"
 
string SERVICE_SET_FAN_MODE = "set_fan_mode"
 
string SERVICE_SET_HUMIDITY = "set_humidity"
 
string SERVICE_SET_HVAC_MODE = "set_hvac_mode"
 
string SERVICE_SET_PRESET_MODE = "set_preset_mode"
 
string SERVICE_SET_SWING_HORIZONTAL_MODE = "set_swing_horizontal_mode"
 
string SERVICE_SET_SWING_MODE = "set_swing_mode"
 
string SERVICE_SET_TEMPERATURE = "set_temperature"
 
string SWING_BOTH = "both"
 
string SWING_HORIZONTAL = "horizontal"
 
string SWING_HORIZONTAL_OFF = "off"
 
string SWING_HORIZONTAL_ON = "on"
 
string SWING_OFF = "off"
 
string SWING_ON = "on"
 
string SWING_VERTICAL = "vertical"
 

Detailed Description

Provides the constants needed for component.

Variable Documentation

◆ __all__

homeassistant.components.climate.const.__all__ = all_with_deprecated_constants(globals())
private

Definition at line 210 of file const.py.

◆ __dir__

homeassistant.components.climate.const.__dir__
private
Initial value:
1 = partial(
2  dir_with_deprecated_constants, module_globals_keys=[*globals().keys()]
3 )

Definition at line 207 of file const.py.

◆ __getattr__

homeassistant.components.climate.const.__getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
private

Definition at line 206 of file const.py.

◆ _DEPRECATED_CURRENT_HVAC_COOL

homeassistant.components.climate.const._DEPRECATED_CURRENT_HVAC_COOL = DeprecatedConstantEnum(HVACAction.COOLING, "2025.1")
private

Definition at line 117 of file const.py.

◆ _DEPRECATED_CURRENT_HVAC_DRY

homeassistant.components.climate.const._DEPRECATED_CURRENT_HVAC_DRY = DeprecatedConstantEnum(HVACAction.DRYING, "2025.1")
private

Definition at line 118 of file const.py.

◆ _DEPRECATED_CURRENT_HVAC_FAN

homeassistant.components.climate.const._DEPRECATED_CURRENT_HVAC_FAN = DeprecatedConstantEnum(HVACAction.FAN, "2025.1")
private

Definition at line 120 of file const.py.

◆ _DEPRECATED_CURRENT_HVAC_HEAT

homeassistant.components.climate.const._DEPRECATED_CURRENT_HVAC_HEAT = DeprecatedConstantEnum(HVACAction.HEATING, "2025.1")
private

Definition at line 116 of file const.py.

◆ _DEPRECATED_CURRENT_HVAC_IDLE

homeassistant.components.climate.const._DEPRECATED_CURRENT_HVAC_IDLE = DeprecatedConstantEnum(HVACAction.IDLE, "2025.1")
private

Definition at line 119 of file const.py.

◆ _DEPRECATED_CURRENT_HVAC_OFF

homeassistant.components.climate.const._DEPRECATED_CURRENT_HVAC_OFF = DeprecatedConstantEnum(HVACAction.OFF, "2025.1")
private

Definition at line 115 of file const.py.

◆ _DEPRECATED_HVAC_MODE_AUTO

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_AUTO = DeprecatedConstantEnum(HVACMode.AUTO, "2025.1")
private

Definition at line 46 of file const.py.

◆ _DEPRECATED_HVAC_MODE_COOL

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_COOL = DeprecatedConstantEnum(HVACMode.COOL, "2025.1")
private

Definition at line 44 of file const.py.

◆ _DEPRECATED_HVAC_MODE_DRY

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_DRY = DeprecatedConstantEnum(HVACMode.DRY, "2025.1")
private

Definition at line 47 of file const.py.

◆ _DEPRECATED_HVAC_MODE_FAN_ONLY

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_FAN_ONLY = DeprecatedConstantEnum(HVACMode.FAN_ONLY, "2025.1")
private

Definition at line 48 of file const.py.

◆ _DEPRECATED_HVAC_MODE_HEAT

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_HEAT = DeprecatedConstantEnum(HVACMode.HEAT, "2025.1")
private

Definition at line 43 of file const.py.

◆ _DEPRECATED_HVAC_MODE_HEAT_COOL

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_HEAT_COOL = DeprecatedConstantEnum(HVACMode.HEAT_COOL, "2025.1")
private

Definition at line 45 of file const.py.

◆ _DEPRECATED_HVAC_MODE_OFF

homeassistant.components.climate.const._DEPRECATED_HVAC_MODE_OFF = DeprecatedConstantEnum(HVACMode.OFF, "2025.1")
private

Definition at line 42 of file const.py.

◆ _DEPRECATED_SUPPORT_AUX_HEAT

homeassistant.components.climate.const._DEPRECATED_SUPPORT_AUX_HEAT
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.AUX_HEAT, "2025.1"
3 )

Definition at line 201 of file const.py.

◆ _DEPRECATED_SUPPORT_FAN_MODE

homeassistant.components.climate.const._DEPRECATED_SUPPORT_FAN_MODE
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.FAN_MODE, "2025.1"
3 )

Definition at line 192 of file const.py.

◆ _DEPRECATED_SUPPORT_PRESET_MODE

homeassistant.components.climate.const._DEPRECATED_SUPPORT_PRESET_MODE
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.PRESET_MODE, "2025.1"
3 )

Definition at line 195 of file const.py.

◆ _DEPRECATED_SUPPORT_SWING_MODE

homeassistant.components.climate.const._DEPRECATED_SUPPORT_SWING_MODE
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.SWING_MODE, "2025.1"
3 )

Definition at line 198 of file const.py.

◆ _DEPRECATED_SUPPORT_TARGET_HUMIDITY

homeassistant.components.climate.const._DEPRECATED_SUPPORT_TARGET_HUMIDITY
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.TARGET_HUMIDITY, "2025.1"
3 )

Definition at line 189 of file const.py.

◆ _DEPRECATED_SUPPORT_TARGET_TEMPERATURE

homeassistant.components.climate.const._DEPRECATED_SUPPORT_TARGET_TEMPERATURE
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.TARGET_TEMPERATURE, "2025.1"
3 )

Definition at line 183 of file const.py.

◆ _DEPRECATED_SUPPORT_TARGET_TEMPERATURE_RANGE

homeassistant.components.climate.const._DEPRECATED_SUPPORT_TARGET_TEMPERATURE_RANGE
private
Initial value:
1 = DeprecatedConstantEnum(
2  ClimateEntityFeature.TARGET_TEMPERATURE_RANGE, "2025.1"
3 )

Definition at line 186 of file const.py.

◆ ATTR_AUX_HEAT

string homeassistant.components.climate.const.ATTR_AUX_HEAT = "aux_heat"

Definition at line 124 of file const.py.

◆ ATTR_CURRENT_HUMIDITY

string homeassistant.components.climate.const.ATTR_CURRENT_HUMIDITY = "current_humidity"

Definition at line 125 of file const.py.

◆ ATTR_CURRENT_TEMPERATURE

string homeassistant.components.climate.const.ATTR_CURRENT_TEMPERATURE = "current_temperature"

Definition at line 126 of file const.py.

◆ ATTR_FAN_MODE

string homeassistant.components.climate.const.ATTR_FAN_MODE = "fan_mode"

Definition at line 128 of file const.py.

◆ ATTR_FAN_MODES

string homeassistant.components.climate.const.ATTR_FAN_MODES = "fan_modes"

Definition at line 127 of file const.py.

◆ ATTR_HUMIDITY

string homeassistant.components.climate.const.ATTR_HUMIDITY = "humidity"

Definition at line 131 of file const.py.

◆ ATTR_HVAC_ACTION

string homeassistant.components.climate.const.ATTR_HVAC_ACTION = "hvac_action"

Definition at line 136 of file const.py.

◆ ATTR_HVAC_MODE

string homeassistant.components.climate.const.ATTR_HVAC_MODE = "hvac_mode"

Definition at line 138 of file const.py.

◆ ATTR_HVAC_MODES

string homeassistant.components.climate.const.ATTR_HVAC_MODES = "hvac_modes"

Definition at line 137 of file const.py.

◆ ATTR_MAX_HUMIDITY

string homeassistant.components.climate.const.ATTR_MAX_HUMIDITY = "max_humidity"

Definition at line 132 of file const.py.

◆ ATTR_MAX_TEMP

string homeassistant.components.climate.const.ATTR_MAX_TEMP = "max_temp"

Definition at line 134 of file const.py.

◆ ATTR_MIN_HUMIDITY

string homeassistant.components.climate.const.ATTR_MIN_HUMIDITY = "min_humidity"

Definition at line 133 of file const.py.

◆ ATTR_MIN_TEMP

string homeassistant.components.climate.const.ATTR_MIN_TEMP = "min_temp"

Definition at line 135 of file const.py.

◆ ATTR_PRESET_MODE

string homeassistant.components.climate.const.ATTR_PRESET_MODE = "preset_mode"

Definition at line 129 of file const.py.

◆ ATTR_PRESET_MODES

string homeassistant.components.climate.const.ATTR_PRESET_MODES = "preset_modes"

Definition at line 130 of file const.py.

◆ ATTR_SWING_HORIZONTAL_MODE

string homeassistant.components.climate.const.ATTR_SWING_HORIZONTAL_MODE = "swing_horizontal_mode"

Definition at line 141 of file const.py.

◆ ATTR_SWING_HORIZONTAL_MODES

string homeassistant.components.climate.const.ATTR_SWING_HORIZONTAL_MODES = "swing_horizontal_modes"

Definition at line 142 of file const.py.

◆ ATTR_SWING_MODE

string homeassistant.components.climate.const.ATTR_SWING_MODE = "swing_mode"

Definition at line 140 of file const.py.

◆ ATTR_SWING_MODES

string homeassistant.components.climate.const.ATTR_SWING_MODES = "swing_modes"

Definition at line 139 of file const.py.

◆ ATTR_TARGET_TEMP_HIGH

string homeassistant.components.climate.const.ATTR_TARGET_TEMP_HIGH = "target_temp_high"

Definition at line 143 of file const.py.

◆ ATTR_TARGET_TEMP_LOW

string homeassistant.components.climate.const.ATTR_TARGET_TEMP_LOW = "target_temp_low"

Definition at line 144 of file const.py.

◆ ATTR_TARGET_TEMP_STEP

string homeassistant.components.climate.const.ATTR_TARGET_TEMP_STEP = "target_temp_step"

Definition at line 145 of file const.py.

◆ CURRENT_HVAC_ACTIONS

list homeassistant.components.climate.const.CURRENT_HVAC_ACTIONS = [cls.value for cls in HVACAction]

Definition at line 121 of file const.py.

◆ DEFAULT_MAX_HUMIDITY

int homeassistant.components.climate.const.DEFAULT_MAX_HUMIDITY = 99

Definition at line 150 of file const.py.

◆ DEFAULT_MAX_TEMP

int homeassistant.components.climate.const.DEFAULT_MAX_TEMP = 35

Definition at line 148 of file const.py.

◆ DEFAULT_MIN_HUMIDITY

int homeassistant.components.climate.const.DEFAULT_MIN_HUMIDITY = 30

Definition at line 149 of file const.py.

◆ DEFAULT_MIN_TEMP

int homeassistant.components.climate.const.DEFAULT_MIN_TEMP = 7

Definition at line 147 of file const.py.

◆ DOMAIN

string homeassistant.components.climate.const.DOMAIN = "climate"

Definition at line 152 of file const.py.

◆ FAN_AUTO

string homeassistant.components.climate.const.FAN_AUTO = "auto"

Definition at line 78 of file const.py.

◆ FAN_DIFFUSE

string homeassistant.components.climate.const.FAN_DIFFUSE = "diffuse"

Definition at line 85 of file const.py.

◆ FAN_FOCUS

string homeassistant.components.climate.const.FAN_FOCUS = "focus"

Definition at line 84 of file const.py.

◆ FAN_HIGH

string homeassistant.components.climate.const.FAN_HIGH = "high"

Definition at line 81 of file const.py.

◆ FAN_LOW

string homeassistant.components.climate.const.FAN_LOW = "low"

Definition at line 79 of file const.py.

◆ FAN_MEDIUM

string homeassistant.components.climate.const.FAN_MEDIUM = "medium"

Definition at line 80 of file const.py.

◆ FAN_MIDDLE

string homeassistant.components.climate.const.FAN_MIDDLE = "middle"

Definition at line 83 of file const.py.

◆ FAN_OFF

string homeassistant.components.climate.const.FAN_OFF = "off"

Definition at line 77 of file const.py.

◆ FAN_ON

string homeassistant.components.climate.const.FAN_ON = "on"

Definition at line 76 of file const.py.

◆ FAN_TOP

string homeassistant.components.climate.const.FAN_TOP = "top"

Definition at line 82 of file const.py.

◆ HVAC_MODES

list homeassistant.components.climate.const.HVAC_MODES = [cls.value for cls in HVACMode]

Definition at line 49 of file const.py.

◆ INTENT_GET_TEMPERATURE

string homeassistant.components.climate.const.INTENT_GET_TEMPERATURE = "HassClimateGetTemperature"

Definition at line 154 of file const.py.

◆ PRESET_ACTIVITY

string homeassistant.components.climate.const.PRESET_ACTIVITY = "activity"

Definition at line 73 of file const.py.

◆ PRESET_AWAY

string homeassistant.components.climate.const.PRESET_AWAY = "away"

Definition at line 58 of file const.py.

◆ PRESET_BOOST

string homeassistant.components.climate.const.PRESET_BOOST = "boost"

Definition at line 61 of file const.py.

◆ PRESET_COMFORT

string homeassistant.components.climate.const.PRESET_COMFORT = "comfort"

Definition at line 64 of file const.py.

◆ PRESET_ECO

string homeassistant.components.climate.const.PRESET_ECO = "eco"

Definition at line 55 of file const.py.

◆ PRESET_HOME

string homeassistant.components.climate.const.PRESET_HOME = "home"

Definition at line 67 of file const.py.

◆ PRESET_NONE

string homeassistant.components.climate.const.PRESET_NONE = "none"

Definition at line 52 of file const.py.

◆ PRESET_SLEEP

string homeassistant.components.climate.const.PRESET_SLEEP = "sleep"

Definition at line 70 of file const.py.

◆ SERVICE_SET_AUX_HEAT

string homeassistant.components.climate.const.SERVICE_SET_AUX_HEAT = "set_aux_heat"

Definition at line 156 of file const.py.

◆ SERVICE_SET_FAN_MODE

string homeassistant.components.climate.const.SERVICE_SET_FAN_MODE = "set_fan_mode"

Definition at line 157 of file const.py.

◆ SERVICE_SET_HUMIDITY

string homeassistant.components.climate.const.SERVICE_SET_HUMIDITY = "set_humidity"

Definition at line 159 of file const.py.

◆ SERVICE_SET_HVAC_MODE

string homeassistant.components.climate.const.SERVICE_SET_HVAC_MODE = "set_hvac_mode"

Definition at line 160 of file const.py.

◆ SERVICE_SET_PRESET_MODE

string homeassistant.components.climate.const.SERVICE_SET_PRESET_MODE = "set_preset_mode"

Definition at line 158 of file const.py.

◆ SERVICE_SET_SWING_HORIZONTAL_MODE

string homeassistant.components.climate.const.SERVICE_SET_SWING_HORIZONTAL_MODE = "set_swing_horizontal_mode"

Definition at line 162 of file const.py.

◆ SERVICE_SET_SWING_MODE

string homeassistant.components.climate.const.SERVICE_SET_SWING_MODE = "set_swing_mode"

Definition at line 161 of file const.py.

◆ SERVICE_SET_TEMPERATURE

string homeassistant.components.climate.const.SERVICE_SET_TEMPERATURE = "set_temperature"

Definition at line 163 of file const.py.

◆ SWING_BOTH

string homeassistant.components.climate.const.SWING_BOTH = "both"

Definition at line 91 of file const.py.

◆ SWING_HORIZONTAL

string homeassistant.components.climate.const.SWING_HORIZONTAL = "horizontal"

Definition at line 93 of file const.py.

◆ SWING_HORIZONTAL_OFF

string homeassistant.components.climate.const.SWING_HORIZONTAL_OFF = "off"

Definition at line 97 of file const.py.

◆ SWING_HORIZONTAL_ON

string homeassistant.components.climate.const.SWING_HORIZONTAL_ON = "on"

Definition at line 96 of file const.py.

◆ SWING_OFF

string homeassistant.components.climate.const.SWING_OFF = "off"

Definition at line 90 of file const.py.

◆ SWING_ON

string homeassistant.components.climate.const.SWING_ON = "on"

Definition at line 89 of file const.py.

◆ SWING_VERTICAL

string homeassistant.components.climate.const.SWING_VERTICAL = "vertical"

Definition at line 92 of file const.py.