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

Classes

class  AndroidTVFlowHandler
 
class  OptionsFlowHandler
 

Functions

bool _is_file (str value)
 
list[Any]|None _validate_state_det_rules (Any state_det_rules)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string APPS_NEW_ID = "NewApp"
 
string CONF_APP_DELETE = "app_delete"
 
string CONF_APP_ID = "app_id"
 
string CONF_APP_NAME = "app_name"
 
string CONF_RULE_DELETE = "rule_delete"
 
string CONF_RULE_ID = "rule_id"
 
string CONF_RULE_VALUES = "rule_values"
 
string RESULT_CONN_ERROR = "cannot_connect"
 
string RESULT_UNKNOWN = "unknown"
 
string RULES_NEW_ID = "NewRule"
 

Detailed Description

Config flow to configure the Android Debug Bridge integration.

Function Documentation

◆ _is_file()

bool homeassistant.components.androidtv.config_flow._is_file ( str  value)
private
Validate that the value is an existing file.

Definition at line 69 of file config_flow.py.

◆ _validate_state_det_rules()

list[Any] | None homeassistant.components.androidtv.config_flow._validate_state_det_rules ( Any  state_det_rules)
private
Validate a string that contain state detection rules and return a dict.

Definition at line 379 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 66 of file config_flow.py.

◆ APPS_NEW_ID

string homeassistant.components.androidtv.config_flow.APPS_NEW_ID = "NewApp"

Definition at line 53 of file config_flow.py.

◆ CONF_APP_DELETE

string homeassistant.components.androidtv.config_flow.CONF_APP_DELETE = "app_delete"

Definition at line 54 of file config_flow.py.

◆ CONF_APP_ID

string homeassistant.components.androidtv.config_flow.CONF_APP_ID = "app_id"

Definition at line 55 of file config_flow.py.

◆ CONF_APP_NAME

string homeassistant.components.androidtv.config_flow.CONF_APP_NAME = "app_name"

Definition at line 56 of file config_flow.py.

◆ CONF_RULE_DELETE

string homeassistant.components.androidtv.config_flow.CONF_RULE_DELETE = "rule_delete"

Definition at line 59 of file config_flow.py.

◆ CONF_RULE_ID

string homeassistant.components.androidtv.config_flow.CONF_RULE_ID = "rule_id"

Definition at line 60 of file config_flow.py.

◆ CONF_RULE_VALUES

string homeassistant.components.androidtv.config_flow.CONF_RULE_VALUES = "rule_values"

Definition at line 61 of file config_flow.py.

◆ RESULT_CONN_ERROR

string homeassistant.components.androidtv.config_flow.RESULT_CONN_ERROR = "cannot_connect"

Definition at line 63 of file config_flow.py.

◆ RESULT_UNKNOWN

string homeassistant.components.androidtv.config_flow.RESULT_UNKNOWN = "unknown"

Definition at line 64 of file config_flow.py.

◆ RULES_NEW_ID

string homeassistant.components.androidtv.config_flow.RULES_NEW_ID = "NewRule"

Definition at line 58 of file config_flow.py.