|
| None | __init__ (self, SchemaConfigFlowHandler|SchemaOptionsFlowHandler handler, Mapping[str, SchemaFlowStep] flow, dict[str, Any]|None options) |
| |
| ConfigFlowResult | async_step (self, str step_id, dict[str, Any]|None user_input=None) |
| |
| dict[str, Any] | flow_state (self) |
| |
| dict[str, Any] | options (self) |
| |
| SchemaConfigFlowHandler|SchemaOptionsFlowHandler | parent_handler (self) |
| |
|
| ConfigFlowResult | _async_form_step (self, str step_id, dict[str, Any]|None user_input=None) |
| |
| ConfigFlowResult | _async_menu_step (self, str step_id, dict[str, Any]|None user_input=None) |
| |
| vol.Schema|None | _get_schema (self, SchemaFlowFormStep form_step) |
| |
| ConfigFlowResult | _show_next_step (self, str next_step_id, SchemaFlowError|None error=None, dict[str, Any]|None user_input=None) |
| |
| ConfigFlowResult | _show_next_step_or_create_entry (self, SchemaFlowFormStep form_step) |
| |
| None | _update_and_remove_omitted_optional_keys (self, dict[str, Any] values, dict[str, Any] user_input, vol.Schema|None data_schema) |
| |
Handle a schema based config or options flow.
Definition at line 107 of file schema_config_entry_flow.py.
◆ __init__()
◆ _async_form_step()
| ConfigFlowResult homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._async_form_step |
( |
|
self, |
|
|
str |
step_id, |
|
|
dict[str, Any] | None |
user_input = None |
|
) |
| |
|
private |
◆ _async_menu_step()
| ConfigFlowResult homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._async_menu_step |
( |
|
self, |
|
|
str |
step_id, |
|
|
dict[str, Any] | None |
user_input = None |
|
) |
| |
|
private |
◆ _get_schema()
| vol.Schema | None homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._get_schema |
( |
|
self, |
|
|
SchemaFlowFormStep |
form_step |
|
) |
| |
|
private |
◆ _show_next_step()
| ConfigFlowResult homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._show_next_step |
( |
|
self, |
|
|
str |
next_step_id, |
|
|
SchemaFlowError | None |
error = None, |
|
|
dict[str, Any] | None |
user_input = None |
|
) |
| |
|
private |
◆ _show_next_step_or_create_entry()
◆ _update_and_remove_omitted_optional_keys()
| None homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._update_and_remove_omitted_optional_keys |
( |
|
self, |
|
|
dict[str, Any] |
values, |
|
|
dict[str, Any] |
user_input, |
|
|
vol.Schema | None |
data_schema |
|
) |
| |
|
private |
◆ async_step()
| ConfigFlowResult homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler.async_step |
( |
|
self, |
|
|
str |
step_id, |
|
|
dict[str, Any] | None |
user_input = None |
|
) |
| |
◆ flow_state()
| dict[str, Any] homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler.flow_state |
( |
|
self | ) |
|
Return the flow state, used to store temporary data.
It can be used for example to store the key or the index of a sub-item
that will be edited in the next step.
Definition at line 133 of file schema_config_entry_flow.py.
◆ options()
| dict[str, Any] homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler.options |
( |
|
self | ) |
|
◆ parent_handler()
◆ _flow
| homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._flow |
|
private |
◆ _handler
| homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._handler |
|
private |
◆ _options
| homeassistant.helpers.schema_config_entry_flow.SchemaCommonFlowHandler._options |
|
private |
The documentation for this class was generated from the following file: