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

Classes

class  SwitcherClimateEntity
 

Functions

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

Variables

dictionary DEVICE_FAN_TO_HA
 
dictionary DEVICE_MODE_TO_HA
 
dictionary HA_TO_DEVICE_FAN = {value: key for key, value in DEVICE_FAN_TO_HA.items()}
 
dictionary HA_TO_DEVICE_MODE = {value: key for key, value in DEVICE_MODE_TO_HA.items()}
 

Detailed Description

Switcher integration Climate platform.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.switcher_kis.climate.async_setup_entry ( HomeAssistant  hass,
SwitcherConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Switcher climate from config entry.

Definition at line 61 of file climate.py.

Variable Documentation

◆ DEVICE_FAN_TO_HA

dictionary homeassistant.components.switcher_kis.climate.DEVICE_FAN_TO_HA
Initial value:
1 = {
2  ThermostatFanLevel.LOW: FAN_LOW,
3  ThermostatFanLevel.MEDIUM: FAN_MEDIUM,
4  ThermostatFanLevel.HIGH: FAN_HIGH,
5  ThermostatFanLevel.AUTO: FAN_AUTO,
6 }

Definition at line 51 of file climate.py.

◆ DEVICE_MODE_TO_HA

dictionary homeassistant.components.switcher_kis.climate.DEVICE_MODE_TO_HA
Initial value:
1 = {
2  ThermostatMode.COOL: HVACMode.COOL,
3  ThermostatMode.HEAT: HVACMode.HEAT,
4  ThermostatMode.FAN: HVACMode.FAN_ONLY,
5  ThermostatMode.DRY: HVACMode.DRY,
6  ThermostatMode.AUTO: HVACMode.HEAT_COOL,
7 }

Definition at line 41 of file climate.py.

◆ HA_TO_DEVICE_FAN

dictionary homeassistant.components.switcher_kis.climate.HA_TO_DEVICE_FAN = {value: key for key, value in DEVICE_FAN_TO_HA.items()}

Definition at line 58 of file climate.py.

◆ HA_TO_DEVICE_MODE

dictionary homeassistant.components.switcher_kis.climate.HA_TO_DEVICE_MODE = {value: key for key, value in DEVICE_MODE_TO_HA.items()}

Definition at line 49 of file climate.py.