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

Classes

class  CoolmasterClimate
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary CM_TO_HA_STATE
 
list FAN_MODES = ["low", "med", "high", "auto"]
 
dictionary HA_STATE_TO_CM = {value: key for key, value in CM_TO_HA_STATE.items()}
 

Detailed Description

CoolMasterNet platform to control of CoolMasterNet Climate Devices.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.coolmaster.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the CoolMasterNet climate platform.

Definition at line 39 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 36 of file climate.py.

◆ CM_TO_HA_STATE

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

Definition at line 24 of file climate.py.

◆ FAN_MODES

list homeassistant.components.coolmaster.climate.FAN_MODES = ["low", "med", "high", "auto"]

Definition at line 34 of file climate.py.

◆ HA_STATE_TO_CM

dictionary homeassistant.components.coolmaster.climate.HA_STATE_TO_CM = {value: key for key, value in CM_TO_HA_STATE.items()}

Definition at line 32 of file climate.py.