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

Classes

class  ElkThermostat
 

Functions

None async_setup_entry (HomeAssistant hass, ElkM1ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

dictionary ELK_TO_HASS_FAN_MODES
 
dictionary ELK_TO_HASS_HVAC_MODES
 
dictionary HASS_TO_ELK_FAN_MODES
 
dictionary HASS_TO_ELK_HVAC_MODES
 
list SUPPORT_HVAC
 

Detailed Description

Support for control of Elk-M1 connected thermostats.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.elkm1.climate.async_setup_entry ( HomeAssistant  hass,
ElkM1ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Create the Elk-M1 thermostat platform.

Definition at line 60 of file climate.py.

Variable Documentation

◆ ELK_TO_HASS_FAN_MODES

dictionary homeassistant.components.elkm1.climate.ELK_TO_HASS_FAN_MODES
Initial value:
1 = {
2  ThermostatFan.AUTO: FAN_AUTO,
3  ThermostatFan.ON: FAN_ON,
4 }

Definition at line 54 of file climate.py.

◆ ELK_TO_HASS_HVAC_MODES

dictionary homeassistant.components.elkm1.climate.ELK_TO_HASS_HVAC_MODES
Initial value:
1 = {
2  ThermostatMode.OFF: HVACMode.OFF,
3  ThermostatMode.COOL: HVACMode.COOL,
4  ThermostatMode.HEAT: HVACMode.HEAT,
5  ThermostatMode.EMERGENCY_HEAT: HVACMode.HEAT,
6  ThermostatMode.AUTO: HVACMode.HEAT_COOL,
7 }

Definition at line 43 of file climate.py.

◆ HASS_TO_ELK_FAN_MODES

dictionary homeassistant.components.elkm1.climate.HASS_TO_ELK_FAN_MODES
Initial value:
1 = {
2  FAN_AUTO: (None, ThermostatFan.AUTO),
3  FAN_ON: (None, ThermostatFan.ON),
4 }

Definition at line 50 of file climate.py.

◆ HASS_TO_ELK_HVAC_MODES

dictionary homeassistant.components.elkm1.climate.HASS_TO_ELK_HVAC_MODES
Initial value:
1 = {
2  HVACMode.OFF: (ThermostatMode.OFF, ThermostatFan.AUTO),
3  HVACMode.HEAT: (ThermostatMode.HEAT, None),
4  HVACMode.COOL: (ThermostatMode.COOL, None),
5  HVACMode.HEAT_COOL: (ThermostatMode.AUTO, None),
6  HVACMode.FAN_ONLY: (ThermostatMode.OFF, ThermostatFan.ON),
7 }

Definition at line 36 of file climate.py.

◆ SUPPORT_HVAC

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

Definition at line 29 of file climate.py.