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

Classes

class  GreeClimateEntity
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary FAN_MODES
 
dictionary FAN_MODES_REVERSE = {v: k for k, v in FAN_MODES.items()}
 
dictionary HVAC_MODES
 
dictionary HVAC_MODES_REVERSE = {v: k for k, v in HVAC_MODES.items()}
 
list PRESET_MODES
 
list SWING_MODES = [SWING_OFF, SWING_VERTICAL, SWING_HORIZONTAL, SWING_BOTH]
 

Detailed Description

Support for interface with a Gree climate systems.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.gree.climate.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Gree HVAC device from a config entry.

Definition at line 88 of file climate.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 56 of file climate.py.

◆ FAN_MODES

dictionary homeassistant.components.gree.climate.FAN_MODES
Initial value:
1 = {
2  FanSpeed.Auto: FAN_AUTO,
3  FanSpeed.Low: FAN_LOW,
4  FanSpeed.MediumLow: FAN_MEDIUM_LOW,
5  FanSpeed.Medium: FAN_MEDIUM,
6  FanSpeed.MediumHigh: FAN_MEDIUM_HIGH,
7  FanSpeed.High: FAN_HIGH,
8 }

Definition at line 75 of file climate.py.

◆ FAN_MODES_REVERSE

dictionary homeassistant.components.gree.climate.FAN_MODES_REVERSE = {v: k for k, v in FAN_MODES.items()}

Definition at line 83 of file climate.py.

◆ HVAC_MODES

dictionary homeassistant.components.gree.climate.HVAC_MODES
Initial value:
1 = {
2  Mode.Auto: HVACMode.AUTO,
3  Mode.Cool: HVACMode.COOL,
4  Mode.Dry: HVACMode.DRY,
5  Mode.Fan: HVACMode.FAN_ONLY,
6  Mode.Heat: HVACMode.HEAT,
7 }

Definition at line 58 of file climate.py.

◆ HVAC_MODES_REVERSE

dictionary homeassistant.components.gree.climate.HVAC_MODES_REVERSE = {v: k for k, v in HVAC_MODES.items()}

Definition at line 65 of file climate.py.

◆ PRESET_MODES

list homeassistant.components.gree.climate.PRESET_MODES
Initial value:
1 = [
2  PRESET_ECO, # Power saving mode
3  PRESET_AWAY, # Steady heat, or 8C mode on gree units
4  PRESET_BOOST, # Turbo mode
5  PRESET_NONE, # Default operating mode
6  PRESET_SLEEP, # Sleep mode
7 ]

Definition at line 67 of file climate.py.

◆ SWING_MODES

list homeassistant.components.gree.climate.SWING_MODES = [SWING_OFF, SWING_VERTICAL, SWING_HORIZONTAL, SWING_BOTH]

Definition at line 85 of file climate.py.