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

Classes

class  AirNowConfigFlow
 
class  AirNowOptionsFlowHandler
 
class  CannotConnect
 
class  InvalidAuth
 
class  InvalidLocation
 

Functions

bool validate_input (HomeAssistant hass, dict[str, Any] data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Config flow for AirNow integration.

Function Documentation

◆ validate_input()

bool homeassistant.components.airnow.config_flow.validate_input ( HomeAssistant  hass,
dict[str, Any]  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 29 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 26 of file config_flow.py.