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

Classes

class  ClimateAehW4a1
 

Functions

def _build_entity (device)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary AC_TO_HA_FAN_MODES
 
dictionary AC_TO_HA_STATE
 
dictionary AC_TO_HA_SWING
 
list FAN_MODES
 
dictionary HA_FAN_MODES_TO_AC
 
dictionary HA_STATE_TO_AC
 
list HVAC_MODES
 
int MAX_TEMP_C = 32
 
int MAX_TEMP_F = 90
 
int MIN_TEMP_C = 16
 
int MIN_TEMP_F = 61
 
list PRESET_MODES
 
list SWING_MODES
 

Detailed Description

Pyaehw4a1 platform to control of Hisense AEH-W4A1 Climate Devices.

Function Documentation

◆ _build_entity()

def homeassistant.components.hisense_aehw4a1.climate._build_entity (   device)
private

Definition at line 116 of file climate.py.

◆ async_setup_entry()

None homeassistant.components.hisense_aehw4a1.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the AEH-W4A1 climate platform.

Definition at line 121 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 113 of file climate.py.

◆ AC_TO_HA_FAN_MODES

dictionary homeassistant.components.hisense_aehw4a1.climate.AC_TO_HA_FAN_MODES
Initial value:
1 = {
2  "00000000": FAN_AUTO, # fan value for heat mode
3  "00000001": FAN_AUTO,
4  "00000010": "mute",
5  "00000100": FAN_LOW,
6  "00000110": FAN_MEDIUM,
7  "00001000": FAN_HIGH,
8 }

Definition at line 89 of file climate.py.

◆ AC_TO_HA_STATE

dictionary homeassistant.components.hisense_aehw4a1.climate.AC_TO_HA_STATE
Initial value:
1 = {
2  "0001": HVACMode.HEAT,
3  "0010": HVACMode.COOL,
4  "0011": HVACMode.DRY,
5  "0000": HVACMode.FAN_ONLY,
6 }

Definition at line 74 of file climate.py.

◆ AC_TO_HA_SWING

dictionary homeassistant.components.hisense_aehw4a1.climate.AC_TO_HA_SWING
Initial value:
1 = {
2  "00": SWING_OFF,
3  "10": SWING_VERTICAL,
4  "01": SWING_HORIZONTAL,
5  "11": SWING_BOTH,
6 }

Definition at line 106 of file climate.py.

◆ FAN_MODES

list homeassistant.components.hisense_aehw4a1.climate.FAN_MODES
Initial value:
1 = [
2  "mute",
3  FAN_LOW,
4  FAN_MEDIUM,
5  FAN_HIGH,
6  FAN_AUTO,
7 ]

Definition at line 49 of file climate.py.

◆ HA_FAN_MODES_TO_AC

dictionary homeassistant.components.hisense_aehw4a1.climate.HA_FAN_MODES_TO_AC
Initial value:
1 = {
2  "mute": "speed_mute",
3  FAN_LOW: "speed_low",
4  FAN_MEDIUM: "speed_med",
5  FAN_HIGH: "speed_max",
6  FAN_AUTO: "speed_auto",
7 }

Definition at line 98 of file climate.py.

◆ HA_STATE_TO_AC

dictionary homeassistant.components.hisense_aehw4a1.climate.HA_STATE_TO_AC
Initial value:
1 = {
2  HVACMode.OFF: "off",
3  HVACMode.HEAT: "mode_heat",
4  HVACMode.COOL: "mode_cool",
5  HVACMode.DRY: "mode_dry",
6  HVACMode.FAN_ONLY: "mode_fan",
7 }

Definition at line 81 of file climate.py.

◆ HVAC_MODES

list homeassistant.components.hisense_aehw4a1.climate.HVAC_MODES
Initial value:
1 = [
2  HVACMode.OFF,
3  HVACMode.HEAT,
4  HVACMode.COOL,
5  HVACMode.DRY,
6  HVACMode.FAN_ONLY,
7 ]

Definition at line 41 of file climate.py.

◆ MAX_TEMP_C

int homeassistant.components.hisense_aehw4a1.climate.MAX_TEMP_C = 32

Definition at line 36 of file climate.py.

◆ MAX_TEMP_F

int homeassistant.components.hisense_aehw4a1.climate.MAX_TEMP_F = 90

Definition at line 39 of file climate.py.

◆ MIN_TEMP_C

int homeassistant.components.hisense_aehw4a1.climate.MIN_TEMP_C = 16

Definition at line 35 of file climate.py.

◆ MIN_TEMP_F

int homeassistant.components.hisense_aehw4a1.climate.MIN_TEMP_F = 61

Definition at line 38 of file climate.py.

◆ PRESET_MODES

list homeassistant.components.hisense_aehw4a1.climate.PRESET_MODES
Initial value:
1 = [
2  PRESET_NONE,
3  PRESET_ECO,
4  PRESET_BOOST,
5  PRESET_SLEEP,
6  "sleep_2",
7  "sleep_3",
8  "sleep_4",
9 ]

Definition at line 64 of file climate.py.

◆ SWING_MODES

list homeassistant.components.hisense_aehw4a1.climate.SWING_MODES
Initial value:
1 = [
2  SWING_OFF,
3  SWING_VERTICAL,
4  SWING_HORIZONTAL,
5  SWING_BOTH,
6 ]

Definition at line 57 of file climate.py.