Classes | |
| class | AbortFlow |
| class | BaseServiceInfo |
| class | FlowContext |
| class | FlowError |
| class | FlowHandler |
| class | FlowManager |
| class | FlowResult |
| class | FlowResultType |
| class | InvalidData |
| class | section |
| class | SectionConfig |
| class | UnknownFlow |
| class | UnknownHandler |
| class | UnknownStep |
Functions | |
| None | _map_error_to_schema_errors (dict[str, Any] schema_errors, vol.Invalid error, vol.Schema data_schema) |
Variables | |
| __all__ = all_with_deprecated_constants(globals()) | |
| __dir__ | |
| __getattr__ = partial(check_if_deprecated_constant, module_globals=globals()) | |
| _DEPRECATED_RESULT_TYPE_ABORT = DeprecatedConstantEnum(FlowResultType.ABORT, "2025.1") | |
| _DEPRECATED_RESULT_TYPE_CREATE_ENTRY | |
| _DEPRECATED_RESULT_TYPE_EXTERNAL_STEP | |
| _DEPRECATED_RESULT_TYPE_EXTERNAL_STEP_DONE | |
| _DEPRECATED_RESULT_TYPE_FORM = DeprecatedConstantEnum(FlowResultType.FORM, "2025.1") | |
| _DEPRECATED_RESULT_TYPE_MENU = DeprecatedConstantEnum(FlowResultType.MENU, "2025.1") | |
| _DEPRECATED_RESULT_TYPE_SHOW_PROGRESS | |
| _DEPRECATED_RESULT_TYPE_SHOW_PROGRESS_DONE | |
| _FlowContextT = TypeVar("_FlowContextT", bound="FlowContext", default="FlowContext") | |
| _FlowResultT | |
| _HandlerT = TypeVar("_HandlerT", default=str) | |
| _LOGGER = logging.getLogger(__name__) | |
| string | EVENT_DATA_ENTRY_FLOW_PROGRESSED = "data_entry_flow_progressed" |
| dictionary | FLOW_NOT_COMPLETE_STEPS |
| dictionary | STEP_ID_OPTIONAL_STEPS |
Classes to help gather user submissions.
|
private |
Map an error to the correct position in the schema_errors. Raises ValueError if the error path could not be found in the schema. Limitation: Nested schemas are not supported and a ValueError will be raised.
Definition at line 179 of file data_entry_flow.py.
|
private |
Definition at line 939 of file data_entry_flow.py.
|
private |
Definition at line 936 of file data_entry_flow.py.
|
private |
Definition at line 935 of file data_entry_flow.py.
|
private |
Definition at line 54 of file data_entry_flow.py.
|
private |
Definition at line 51 of file data_entry_flow.py.
|
private |
Definition at line 55 of file data_entry_flow.py.
|
private |
Definition at line 58 of file data_entry_flow.py.
|
private |
Definition at line 50 of file data_entry_flow.py.
|
private |
Definition at line 67 of file data_entry_flow.py.
|
private |
Definition at line 61 of file data_entry_flow.py.
|
private |
Definition at line 64 of file data_entry_flow.py.
|
private |
Definition at line 90 of file data_entry_flow.py.
|
private |
Definition at line 91 of file data_entry_flow.py.
|
private |
Definition at line 94 of file data_entry_flow.py.
|
private |
Definition at line 33 of file data_entry_flow.py.
| string homeassistant.data_entry_flow.EVENT_DATA_ENTRY_FLOW_PROGRESSED = "data_entry_flow_progressed" |
Definition at line 70 of file data_entry_flow.py.
| dictionary homeassistant.data_entry_flow.FLOW_NOT_COMPLETE_STEPS |
Definition at line 72 of file data_entry_flow.py.
| dictionary homeassistant.data_entry_flow.STEP_ID_OPTIONAL_STEPS |
Definition at line 82 of file data_entry_flow.py.