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

Classes

class  ElectraClimateEntity
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list ELECTRA_FAN_MODES = [FAN_AUTO, FAN_HIGH, FAN_MEDIUM, FAN_LOW]
 
list ELECTRA_MODES
 
dictionary FAN_ELECTRA_TO_HASS
 
dictionary FAN_HASS_TO_ELECTRA
 
dictionary HVAC_MODE_ELECTRA_TO_HASS
 
dictionary HVAC_MODE_HASS_TO_ELECTRA
 
int PARALLEL_UPDATES = 0
 
 SCAN_INTERVAL = timedelta(seconds=SCAN_INTERVAL_SEC)
 

Detailed Description

Support for the Electra climate.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.electrasmart.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Add Electra AC devices.

Definition at line 91 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 84 of file climate.py.

◆ ELECTRA_FAN_MODES

list homeassistant.components.electrasmart.climate.ELECTRA_FAN_MODES = [FAN_AUTO, FAN_HIGH, FAN_MEDIUM, FAN_LOW]

Definition at line 74 of file climate.py.

◆ ELECTRA_MODES

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

Definition at line 75 of file climate.py.

◆ FAN_ELECTRA_TO_HASS

dictionary homeassistant.components.electrasmart.climate.FAN_ELECTRA_TO_HASS
Initial value:
1 = {
2  OperationMode.FAN_SPEED_AUTO: FAN_AUTO,
3  OperationMode.FAN_SPEED_LOW: FAN_LOW,
4  OperationMode.FAN_SPEED_MED: FAN_MEDIUM,
5  OperationMode.FAN_SPEED_HIGH: FAN_HIGH,
6 }

Definition at line 44 of file climate.py.

◆ FAN_HASS_TO_ELECTRA

dictionary homeassistant.components.electrasmart.climate.FAN_HASS_TO_ELECTRA
Initial value:
1 = {
2  FAN_AUTO: OperationMode.FAN_SPEED_AUTO,
3  FAN_LOW: OperationMode.FAN_SPEED_LOW,
4  FAN_MEDIUM: OperationMode.FAN_SPEED_MED,
5  FAN_HIGH: OperationMode.FAN_SPEED_HIGH,
6 }

Definition at line 51 of file climate.py.

◆ HVAC_MODE_ELECTRA_TO_HASS

dictionary homeassistant.components.electrasmart.climate.HVAC_MODE_ELECTRA_TO_HASS
Initial value:
1 = {
2  OperationMode.MODE_COOL: HVACMode.COOL,
3  OperationMode.MODE_HEAT: HVACMode.HEAT,
4  OperationMode.MODE_FAN: HVACMode.FAN_ONLY,
5  OperationMode.MODE_DRY: HVACMode.DRY,
6  OperationMode.MODE_AUTO: HVACMode.AUTO,
7 }

Definition at line 58 of file climate.py.

◆ HVAC_MODE_HASS_TO_ELECTRA

dictionary homeassistant.components.electrasmart.climate.HVAC_MODE_HASS_TO_ELECTRA
Initial value:
1 = {
2  HVACMode.COOL: OperationMode.MODE_COOL,
3  HVACMode.HEAT: OperationMode.MODE_HEAT,
4  HVACMode.FAN_ONLY: OperationMode.MODE_FAN,
5  HVACMode.DRY: OperationMode.MODE_DRY,
6  HVACMode.AUTO: OperationMode.MODE_AUTO,
7 }

Definition at line 66 of file climate.py.

◆ PARALLEL_UPDATES

int homeassistant.components.electrasmart.climate.PARALLEL_UPDATES = 0

Definition at line 88 of file climate.py.

◆ SCAN_INTERVAL

homeassistant.components.electrasmart.climate.SCAN_INTERVAL = timedelta(seconds=SCAN_INTERVAL_SEC)

Definition at line 87 of file climate.py.