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

Classes

class  GreeSwitch
 
class  GreeSwitchEntityDescription
 

Functions

None _set_anion (Device device, bool value)
 
None _set_fresh_air (Device device, bool value)
 
None _set_light (Device device, bool value)
 
None _set_quiet (Device device, bool value)
 
None _set_xfan (Device device, bool value)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Detailed Description

Support for interface with a Gree climate systems.

Function Documentation

◆ _set_anion()

None homeassistant.components.gree.switch._set_anion ( Device  device,
bool  value 
)
private
Typed helper to set device anion property.

Definition at line 53 of file switch.py.

◆ _set_fresh_air()

None homeassistant.components.gree.switch._set_fresh_air ( Device  device,
bool  value 
)
private
Typed helper to set device fresh_air property.

Definition at line 43 of file switch.py.

◆ _set_light()

None homeassistant.components.gree.switch._set_light ( Device  device,
bool  value 
)
private
Typed helper to set device light property.

Definition at line 33 of file switch.py.

◆ _set_quiet()

None homeassistant.components.gree.switch._set_quiet ( Device  device,
bool  value 
)
private
Typed helper to set device quiet property.

Definition at line 38 of file switch.py.

◆ _set_xfan()

None homeassistant.components.gree.switch._set_xfan ( Device  device,
bool  value 
)
private
Typed helper to set device xfan property.

Definition at line 48 of file switch.py.

◆ async_setup_entry()

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

Definition at line 93 of file switch.py.