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

Classes

class  Alpha2BaseConfigFlow
 

Functions

dict[str, str] validate_input (dict[str, Any] data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA = vol.Schema({vol.Required(CONF_HOST): str})
 

Detailed Description

Alpha2 config flow.

Function Documentation

◆ validate_input()

dict[str, str] homeassistant.components.moehlenhoff_alpha2.config_flow.validate_input ( 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 20 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 15 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.moehlenhoff_alpha2.config_flow.DATA_SCHEMA = vol.Schema({vol.Required(CONF_HOST): str})

Definition at line 17 of file config_flow.py.