Classes | |
| class | CannotConnect |
| class | InvalidAuth |
| class | JuiceNetConfigFlow |
Functions | |
| def | validate_input (core.HomeAssistant hass, data) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| DATA_SCHEMA = vol.Schema({vol.Required(CONF_ACCESS_TOKEN): str}) | |
Config flow for JuiceNet integration.
| def homeassistant.components.juicenet.config_flow.validate_input | ( | core.HomeAssistant | hass, |
| 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 22 of file config_flow.py.
|
private |
Definition at line 17 of file config_flow.py.
| homeassistant.components.juicenet.config_flow.DATA_SCHEMA = vol.Schema({vol.Required(CONF_ACCESS_TOKEN): str}) |
Definition at line 19 of file config_flow.py.