Classes | |
| class | CannotConnect |
| class | MonoPriceConfigFlow |
| class | MonopriceOptionsFlowHandler |
Functions | |
| def | _key_for_source (index, source, previous_sources) |
| def | _sources_from_config (data) |
| def | validate_input (HomeAssistant hass, data) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| DATA_SCHEMA = vol.Schema({vol.Required(CONF_PORT): str, **OPTIONS_FOR_DATA}) | |
| list | SOURCES |
| VolDictType | |
Config flow for Monoprice 6-Zone Amplifier integration.
|
private |
Definition at line 115 of file config_flow.py.
|
private |
Definition at line 51 of file config_flow.py.
| def homeassistant.components.monoprice.config_flow.validate_input | ( | 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 63 of file config_flow.py.
|
private |
Definition at line 34 of file config_flow.py.
| homeassistant.components.monoprice.config_flow.DATA_SCHEMA = vol.Schema({vol.Required(CONF_PORT): str, **OPTIONS_FOR_DATA}) |
Definition at line 47 of file config_flow.py.
| list homeassistant.components.monoprice.config_flow.SOURCES |
Definition at line 36 of file config_flow.py.
| homeassistant.components.monoprice.config_flow.VolDictType |
Definition at line 45 of file config_flow.py.