Classes | |
| class | AsusWrtFlowHandler |
Functions | |
| str|None | _get_ip (str host) |
| bool | _is_file (str value) |
| vol.Schema | get_options_schema (SchemaCommonFlowHandler handler) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | ALLOWED_PROTOCOL |
| LEGACY_SCHEMA | |
| dictionary | OPTIONS_FLOW |
| OPTIONS_SCHEMA | |
| string | PASS_KEY = "pass_key" |
| string | PASS_KEY_MSG = "Only provide password or SSH key file" |
| string | RESULT_CONN_ERROR = "cannot_connect" |
| string | RESULT_SUCCESS = "success" |
| string | RESULT_UNKNOWN = "unknown" |
Config flow to configure the AsusWrt integration.
|
private |
Get the ip address from the host name.
Definition at line 124 of file config_flow.py.
|
private |
Validate that the value is an existing file.
Definition at line 118 of file config_flow.py.
| vol.Schema homeassistant.components.asuswrt.config_flow.get_options_schema | ( | SchemaCommonFlowHandler | handler | ) |
Get options schema.
Definition at line 90 of file config_flow.py.
|
private |
Definition at line 70 of file config_flow.py.
| list homeassistant.components.asuswrt.config_flow.ALLOWED_PROTOCOL |
Definition at line 56 of file config_flow.py.
| homeassistant.components.asuswrt.config_flow.LEGACY_SCHEMA |
Definition at line 72 of file config_flow.py.
| dictionary homeassistant.components.asuswrt.config_flow.OPTIONS_FLOW |
Definition at line 113 of file config_flow.py.
| homeassistant.components.asuswrt.config_flow.OPTIONS_SCHEMA |
Definition at line 80 of file config_flow.py.
| string homeassistant.components.asuswrt.config_flow.PASS_KEY = "pass_key" |
Definition at line 63 of file config_flow.py.
| string homeassistant.components.asuswrt.config_flow.PASS_KEY_MSG = "Only provide password or SSH key file" |
Definition at line 64 of file config_flow.py.
| string homeassistant.components.asuswrt.config_flow.RESULT_CONN_ERROR = "cannot_connect" |
Definition at line 66 of file config_flow.py.
| string homeassistant.components.asuswrt.config_flow.RESULT_SUCCESS = "success" |
Definition at line 67 of file config_flow.py.
| string homeassistant.components.asuswrt.config_flow.RESULT_UNKNOWN = "unknown" |
Definition at line 68 of file config_flow.py.