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

Classes

class  SmartThingsAirConditioner
 
class  SmartThingsThermostat
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
Sequence[str]|None get_capabilities (Sequence[str] capabilities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary AC_MODE_TO_STATE
 
string ATTR_OPERATION_STATE = "operation_state"
 
dictionary FAN_OSCILLATION_TO_SWING
 
dictionary MODE_TO_STATE
 
dictionary OPERATING_STATE_TO_ACTION
 
dictionary STATE_TO_AC_MODE
 
dictionary STATE_TO_MODE
 
dictionary SWING_TO_FAN_OSCILLATION
 
dictionary UNIT_MAP = {"C": UnitOfTemperature.CELSIUS, "F": UnitOfTemperature.FAHRENHEIT}
 
string WIND = "wind"
 
string WINDFREE = "windFree"
 

Detailed Description

Support for climate devices through the SmartThings cloud API.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.smartthings.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Add climate entities for a config entry.

Definition at line 100 of file climate.py.

◆ get_capabilities()

Sequence[str] | None homeassistant.components.smartthings.climate.get_capabilities ( Sequence[str]  capabilities)
Return all capabilities supported if minimum required are present.

Definition at line 126 of file climate.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.smartthings.climate._LOGGER = logging.getLogger(__name__)
private

Definition at line 97 of file climate.py.

◆ AC_MODE_TO_STATE

dictionary homeassistant.components.smartthings.climate.AC_MODE_TO_STATE
Initial value:
1 = {
2  "auto": HVACMode.HEAT_COOL,
3  "cool": HVACMode.COOL,
4  "dry": HVACMode.DRY,
5  "coolClean": HVACMode.COOL,
6  "dryClean": HVACMode.DRY,
7  "heat": HVACMode.HEAT,
8  "heatClean": HVACMode.HEAT,
9  "fanOnly": HVACMode.FAN_ONLY,
10  "wind": HVACMode.FAN_ONLY,
11 }

Definition at line 62 of file climate.py.

◆ ATTR_OPERATION_STATE

string homeassistant.components.smartthings.climate.ATTR_OPERATION_STATE = "operation_state"

Definition at line 34 of file climate.py.

◆ FAN_OSCILLATION_TO_SWING

dictionary homeassistant.components.smartthings.climate.FAN_OSCILLATION_TO_SWING
Initial value:
1 = {
2  value: key for key, value in SWING_TO_FAN_OSCILLATION.items()
3 }

Definition at line 88 of file climate.py.

◆ MODE_TO_STATE

dictionary homeassistant.components.smartthings.climate.MODE_TO_STATE
Initial value:
1 = {
2  "auto": HVACMode.HEAT_COOL,
3  "cool": HVACMode.COOL,
4  "eco": HVACMode.AUTO,
5  "rush hour": HVACMode.AUTO,
6  "emergency heat": HVACMode.HEAT,
7  "heat": HVACMode.HEAT,
8  "off": HVACMode.OFF,
9 }

Definition at line 35 of file climate.py.

◆ OPERATING_STATE_TO_ACTION

dictionary homeassistant.components.smartthings.climate.OPERATING_STATE_TO_ACTION
Initial value:
1 = {
2  "cooling": HVACAction.COOLING,
3  "fan only": HVACAction.FAN,
4  "heating": HVACAction.HEATING,
5  "idle": HVACAction.IDLE,
6  "pending cool": HVACAction.COOLING,
7  "pending heat": HVACAction.HEATING,
8  "vent economizer": HVACAction.FAN,
9  "wind": HVACAction.FAN,
10 }

Definition at line 51 of file climate.py.

◆ STATE_TO_AC_MODE

dictionary homeassistant.components.smartthings.climate.STATE_TO_AC_MODE
Initial value:
1 = {
2  HVACMode.HEAT_COOL: "auto",
3  HVACMode.COOL: "cool",
4  HVACMode.DRY: "dry",
5  HVACMode.HEAT: "heat",
6  HVACMode.FAN_ONLY: "fanOnly",
7 }

Definition at line 73 of file climate.py.

◆ STATE_TO_MODE

dictionary homeassistant.components.smartthings.climate.STATE_TO_MODE
Initial value:
1 = {
2  HVACMode.HEAT_COOL: "auto",
3  HVACMode.COOL: "cool",
4  HVACMode.HEAT: "heat",
5  HVACMode.OFF: "off",
6 }

Definition at line 44 of file climate.py.

◆ SWING_TO_FAN_OSCILLATION

dictionary homeassistant.components.smartthings.climate.SWING_TO_FAN_OSCILLATION
Initial value:
1 = {
2  SWING_BOTH: "all",
3  SWING_HORIZONTAL: "horizontal",
4  SWING_VERTICAL: "vertical",
5  SWING_OFF: "fixed",
6 }

Definition at line 81 of file climate.py.

◆ UNIT_MAP

dictionary homeassistant.components.smartthings.climate.UNIT_MAP = {"C": UnitOfTemperature.CELSIUS, "F": UnitOfTemperature.FAHRENHEIT}

Definition at line 95 of file climate.py.

◆ WIND

string homeassistant.components.smartthings.climate.WIND = "wind"

Definition at line 92 of file climate.py.

◆ WINDFREE

string homeassistant.components.smartthings.climate.WINDFREE = "windFree"

Definition at line 93 of file climate.py.