Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nexia.config_flow Namespace Reference

Classes

class  CannotConnect
 
class  InvalidAuth
 
class  NexiaConfigFlow
 

Functions

def validate_input (HomeAssistant hass, data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow for Nexia integration.

Function Documentation

◆ validate_input()

def homeassistant.components.nexia.config_flow.validate_input ( HomeAssistant  hass,
  data 
)
Validate the user input allows us to connect.

Data has the keys from DATA_SCHEMA with values provided by the user.

Definition at line 43 of file config_flow.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.nexia.config_flow._LOGGER = logging.getLogger(__name__)
private

Definition at line 26 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.nexia.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_USERNAME): str,
4  vol.Required(CONF_PASSWORD): str,
5  vol.Required(CONF_BRAND, default=BRAND_NEXIA): vol.In(
6  {
7  BRAND_NEXIA: BRAND_NEXIA_NAME,
8  BRAND_ASAIR: BRAND_ASAIR_NAME,
9  BRAND_TRANE: BRAND_TRANE_NAME,
10  }
11  ),
12  }
13 )

Definition at line 28 of file config_flow.py.