Classes | |
| class | ScrapeConfigFlowHandler |
Functions | |
| dict[str, Any] | get_edit_sensor_suggested_values (SchemaCommonFlowHandler handler) |
| vol.Schema | get_remove_sensor_schema (SchemaCommonFlowHandler handler) |
| vol.Schema | get_select_sensor_schema (SchemaCommonFlowHandler handler) |
| dict[str, Any] | validate_remove_sensor (SchemaCommonFlowHandler handler, dict[str, Any] user_input) |
| dict[str, Any] | validate_rest_setup (SchemaCommonFlowHandler handler, dict[str, Any] user_input) |
| dict[str, Any] | validate_select_sensor (SchemaCommonFlowHandler handler, dict[str, Any] user_input) |
| dict[str, Any] | validate_sensor_edit (SchemaCommonFlowHandler handler, dict[str, Any] user_input) |
| dict[str, Any] | validate_sensor_setup (SchemaCommonFlowHandler handler, dict[str, Any] user_input) |
Variables | |
| dictionary | CONFIG_FLOW |
| DATA_SCHEMA_EDIT_SENSOR = vol.Schema(SENSOR_SETUP) | |
| DATA_SCHEMA_RESOURCE = vol.Schema(RESOURCE_SETUP) | |
| DATA_SCHEMA_SENSOR | |
| dictionary | OPTIONS_FLOW |
| dictionary | RESOURCE_SETUP |
| dictionary | SENSOR_SETUP |
Adds config flow for Scrape integration.
| dict[str, Any] homeassistant.components.scrape.config_flow.get_edit_sensor_suggested_values | ( | SchemaCommonFlowHandler | handler | ) |
Return suggested values for sensor editing.
Definition at line 192 of file config_flow.py.
| vol.Schema homeassistant.components.scrape.config_flow.get_remove_sensor_schema | ( | SchemaCommonFlowHandler | handler | ) |
Return schema for sensor removal.
Definition at line 218 of file config_flow.py.
| vol.Schema homeassistant.components.scrape.config_flow.get_select_sensor_schema | ( | SchemaCommonFlowHandler | handler | ) |
Return schema for selecting a sensor.
Definition at line 178 of file config_flow.py.
| dict[str, Any] homeassistant.components.scrape.config_flow.validate_remove_sensor | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate remove sensor.
Definition at line 232 of file config_flow.py.
| dict[str, Any] homeassistant.components.scrape.config_flow.validate_rest_setup | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate rest setup.
Definition at line 140 of file config_flow.py.
| dict[str, Any] homeassistant.components.scrape.config_flow.validate_select_sensor | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Store sensor index in flow state.
Definition at line 170 of file config_flow.py.
| dict[str, Any] homeassistant.components.scrape.config_flow.validate_sensor_edit | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Update edited sensor.
Definition at line 200 of file config_flow.py.
| dict[str, Any] homeassistant.components.scrape.config_flow.validate_sensor_setup | ( | SchemaCommonFlowHandler | handler, |
| dict[str, Any] | user_input | ||
| ) |
Validate sensor input.
Definition at line 156 of file config_flow.py.
| dictionary homeassistant.components.scrape.config_flow.CONFIG_FLOW |
Definition at line 263 of file config_flow.py.
| homeassistant.components.scrape.config_flow.DATA_SCHEMA_EDIT_SENSOR = vol.Schema(SENSOR_SETUP) |
Definition at line 255 of file config_flow.py.
| homeassistant.components.scrape.config_flow.DATA_SCHEMA_RESOURCE = vol.Schema(RESOURCE_SETUP) |
Definition at line 254 of file config_flow.py.
| homeassistant.components.scrape.config_flow.DATA_SCHEMA_SENSOR |
Definition at line 256 of file config_flow.py.
| dictionary homeassistant.components.scrape.config_flow.OPTIONS_FLOW |
Definition at line 274 of file config_flow.py.
| dictionary homeassistant.components.scrape.config_flow.RESOURCE_SETUP |
Definition at line 76 of file config_flow.py.
| dictionary homeassistant.components.scrape.config_flow.SENSOR_SETUP |
Definition at line 102 of file config_flow.py.