Classes | |
| class | RiscoConfigFlow |
| class | RiscoOptionsFlowHandler |
Functions | |
| dict[str, str] | validate_cloud_input (HomeAssistant hass, dict[str, Any] data) |
| dict[str, Any] | validate_local_input (HomeAssistant hass, Mapping[str, str] data) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CLOUD_SCHEMA | |
| list | HA_STATES |
| LOCAL_SCHEMA | |
Config flow for Risco integration.
| dict[str, str] homeassistant.components.risco.config_flow.validate_cloud_input | ( | HomeAssistant | hass, |
| dict[str, Any] | data | ||
| ) |
Validate the user input allows us to connect to Risco Cloud. Data has the keys from CLOUD_SCHEMA with values provided by the user.
Definition at line 71 of file config_flow.py.
| dict[str, Any] homeassistant.components.risco.config_flow.validate_local_input | ( | HomeAssistant | hass, |
| Mapping[str, str] | data | ||
| ) |
Validate the user input allows us to connect to a local panel. Data has the keys from LOCAL_SCHEMA with values provided by the user.
Definition at line 88 of file config_flow.py.
|
private |
Definition at line 46 of file config_flow.py.
| homeassistant.components.risco.config_flow.CLOUD_SCHEMA |
Definition at line 49 of file config_flow.py.
| list homeassistant.components.risco.config_flow.HA_STATES |
Definition at line 63 of file config_flow.py.
| homeassistant.components.risco.config_flow.LOCAL_SCHEMA |
Definition at line 56 of file config_flow.py.