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

Classes

class  DirecTVConfigFlow
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ERROR_CANNOT_CONNECT = "cannot_connect"
 
string ERROR_UNKNOWN = "unknown"
 

Detailed Description

Config flow for DirecTV.

Function Documentation

◆ validate_input()

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

Variable Documentation

◆ _LOGGER

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

Definition at line 20 of file config_flow.py.

◆ ERROR_CANNOT_CONNECT

string homeassistant.components.directv.config_flow.ERROR_CANNOT_CONNECT = "cannot_connect"

Definition at line 22 of file config_flow.py.

◆ ERROR_UNKNOWN

string homeassistant.components.directv.config_flow.ERROR_UNKNOWN = "unknown"

Definition at line 23 of file config_flow.py.