Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hisense_aehw4a1 Namespace Reference

Namespaces

 climate
 
 config_flow
 
 const
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
def coerce_ip (value)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
list PLATFORMS = [Platform.CLIMATE]
 

Detailed Description

The Hisense AEH-W4A1 integration.

Function Documentation

◆ async_setup()

bool homeassistant.components.hisense_aehw4a1.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Hisense AEH-W4A1 integration.

Definition at line 52 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.hisense_aehw4a1.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up a config entry for Hisense AEH-W4A1.

Definition at line 77 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.hisense_aehw4a1.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 83 of file __init__.py.

◆ coerce_ip()

def homeassistant.components.hisense_aehw4a1.coerce_ip (   value)
Validate that provided value is a valid IP address.

Definition at line 25 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.hisense_aehw4a1._LOGGER = logging.getLogger(__name__)
private

Definition at line 20 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.hisense_aehw4a1.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: {
4  CLIMATE_DOMAIN: vol.Schema(
5  {
6  vol.Optional(CONF_IP_ADDRESS, default=[]): vol.All(
7  cv.ensure_list, [vol.All(cv.string, coerce_ip)]
8  )
9  }
10  )
11  }
12  },
13  extra=vol.ALLOW_EXTRA,
14 )

Definition at line 36 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.hisense_aehw4a1.PLATFORMS = [Platform.CLIMATE]

Definition at line 22 of file __init__.py.