Classes | |
| class | BondConfigFlow |
| class | InputValidationError |
Functions | |
| tuple[str, str] | _validate_input (HomeAssistant hass, dict[str, Any] data) |
| str|None | async_get_token (HomeAssistant hass, str host) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| DISCOVERY_SCHEMA = vol.Schema({vol.Required(CONF_ACCESS_TOKEN): str}) | |
| TOKEN_SCHEMA = vol.Schema({}) | |
| USER_SCHEMA | |
Config flow for Bond integration.
|
private |
Validate the user input allows us to connect.
Definition at line 43 of file config_flow.py.
| str | None homeassistant.components.bond.config_flow.async_get_token | ( | HomeAssistant | hass, |
| str | host | ||
| ) |
Try to fetch the token from the bond device.
Definition at line 34 of file config_flow.py.
|
private |
Definition at line 24 of file config_flow.py.
| homeassistant.components.bond.config_flow.DISCOVERY_SCHEMA = vol.Schema({vol.Required(CONF_ACCESS_TOKEN): str}) |
Definition at line 30 of file config_flow.py.
| homeassistant.components.bond.config_flow.TOKEN_SCHEMA = vol.Schema({}) |
Definition at line 31 of file config_flow.py.
| homeassistant.components.bond.config_flow.USER_SCHEMA |
Definition at line 27 of file config_flow.py.