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

Classes

class  BruntConfigFlow
 

Functions

dict[str, str]|None validate_input (dict[str, Any] user_input)
 

Variables

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

Detailed Description

Config flow for brunt integration.

Function Documentation

◆ validate_input()

dict[str, str] | None homeassistant.components.brunt.config_flow.validate_input ( dict[str, Any]  user_input)
Login to the brunt api and return errors if any.

Definition at line 27 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 19 of file config_flow.py.

◆ DATA_SCHEMA

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

Definition at line 21 of file config_flow.py.

◆ REAUTH_SCHEMA

homeassistant.components.brunt.config_flow.REAUTH_SCHEMA = vol.Schema({vol.Required(CONF_PASSWORD): str})

Definition at line 24 of file config_flow.py.