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

Classes

class  NamConfig
 
class  NAMFlowHandler
 

Functions

None async_check_credentials (HomeAssistant hass, str host, dict[str, Any] data)
 
NamConfig async_get_config (HomeAssistant hass, str host)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 AUTH_SCHEMA
 

Detailed Description

Adds config flow for Nettigo Air Monitor.

Function Documentation

◆ async_check_credentials()

None homeassistant.components.nam.config_flow.async_check_credentials ( HomeAssistant  hass,
str  host,
dict[str, Any]   data 
)
Check if credentials are valid.

Definition at line 57 of file config_flow.py.

◆ async_get_config()

NamConfig homeassistant.components.nam.config_flow.async_get_config ( HomeAssistant  hass,
str  host 
)
Get device MAC address and auth_enabled property.

Definition at line 45 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 38 of file config_flow.py.

◆ AUTH_SCHEMA

homeassistant.components.nam.config_flow.AUTH_SCHEMA
Initial value:
1 = vol.Schema(
2  {vol.Required(CONF_USERNAME): str, vol.Required(CONF_PASSWORD): str}
3 )

Definition at line 40 of file config_flow.py.