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

Classes

class  InvalidAuth
 
class  TractiveConfigFlow
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 USER_DATA_SCHEMA
 

Detailed Description

Config flow for tractive integration.

Function Documentation

◆ validate_input()

dict[str, Any] homeassistant.components.tractive.config_flow.validate_input ( HomeAssistant  hass,
dict[str, Any]  data 
)
Validate the user input allows us to connect.

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

Definition at line 26 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 19 of file config_flow.py.

◆ USER_DATA_SCHEMA

homeassistant.components.tractive.config_flow.USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {vol.Required(CONF_EMAIL): str, vol.Required(CONF_PASSWORD): str}
3 )

Definition at line 21 of file config_flow.py.