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

Classes

class  DaikinClimate
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
str format_target_temperature (float target_temperature)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DAIKIN_ATTR_ADVANCED = "adv"
 
dictionary DAIKIN_TO_HA_STATE
 
dictionary HA_ATTR_TO_DAIKIN
 
dictionary HA_PRESET_TO_DAIKIN
 
dictionary HA_STATE_TO_CURRENT_HVAC
 
dictionary HA_STATE_TO_DAIKIN
 

Detailed Description

Support for the Daikin HVAC.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.daikin.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up Daikin climate based on config_entry.

Definition at line 85 of file climate.py.

◆ format_target_temperature()

str homeassistant.components.daikin.climate.format_target_temperature ( float  target_temperature)
Format target temperature to be sent to the Daikin unit, rounding to nearest half degree.

Definition at line 93 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 38 of file climate.py.

◆ DAIKIN_ATTR_ADVANCED

string homeassistant.components.daikin.climate.DAIKIN_ATTR_ADVANCED = "adv"

Definition at line 82 of file climate.py.

◆ DAIKIN_TO_HA_STATE

dictionary homeassistant.components.daikin.climate.DAIKIN_TO_HA_STATE
Initial value:
1 = {
2  "fan": HVACMode.FAN_ONLY,
3  "dry": HVACMode.DRY,
4  "cool": HVACMode.COOL,
5  "hot": HVACMode.HEAT,
6  "auto": HVACMode.HEAT_COOL,
7  "off": HVACMode.OFF,
8 }

Definition at line 50 of file climate.py.

◆ HA_ATTR_TO_DAIKIN

dictionary homeassistant.components.daikin.climate.HA_ATTR_TO_DAIKIN
Initial value:
1 = {
2  ATTR_PRESET_MODE: "en_hol",
3  ATTR_HVAC_MODE: "mode",
4  ATTR_FAN_MODE: "f_rate",
5  ATTR_SWING_MODE: "f_dir",
6  ATTR_INSIDE_TEMPERATURE: "htemp",
7  ATTR_OUTSIDE_TEMPERATURE: "otemp",
8  ATTR_TARGET_TEMPERATURE: "stemp",
9 }

Definition at line 72 of file climate.py.

◆ HA_PRESET_TO_DAIKIN

dictionary homeassistant.components.daikin.climate.HA_PRESET_TO_DAIKIN
Initial value:
1 = {
2  PRESET_AWAY: "on",
3  PRESET_NONE: "off",
4  PRESET_BOOST: "powerful",
5  PRESET_ECO: "econo",
6 }

Definition at line 65 of file climate.py.

◆ HA_STATE_TO_CURRENT_HVAC

dictionary homeassistant.components.daikin.climate.HA_STATE_TO_CURRENT_HVAC
Initial value:
1 = {
2  HVACMode.COOL: HVACAction.COOLING,
3  HVACMode.HEAT: HVACAction.HEATING,
4  HVACMode.OFF: HVACAction.OFF,
5 }

Definition at line 59 of file climate.py.

◆ HA_STATE_TO_DAIKIN

dictionary homeassistant.components.daikin.climate.HA_STATE_TO_DAIKIN
Initial value:
1 = {
2  HVACMode.FAN_ONLY: "fan",
3  HVACMode.DRY: "dry",
4  HVACMode.COOL: "cool",
5  HVACMode.HEAT: "hot",
6  HVACMode.HEAT_COOL: "auto",
7  HVACMode.OFF: "off",
8 }

Definition at line 41 of file climate.py.