Start an integration config flow
integrations_start_config_flowInitiate a new configuration flow for a Home Assistant integration, returning the first step to guide setup.
Instructions
Start a new config flow for an integration domain.
Calls POST /api/config/config_entries/flow with {"handler": handler, "show_advanced_options": show_advanced_options}; HA has no
WebSocket command for this. Each call creates a new, distinct flow.
Use when: beginning to set up a new integration through the same
step-by-step flow the HA UI uses.
Not for: editing an already-configured entry — use
integrations_start_options_flow.
Returns: the first step: {flow_id, step_id, data_schema, errors, ...}. Pass flow_id into integrations_submit_config_flow_step with
the user's answers.
Errors: raises httpx.HTTPStatusError if handler is not a valid
flow-handler domain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handler | Yes | Integration domain to configure, e.g. 'shelly'; from `integrations_list_flow_handlers`. | |
| show_advanced_options | No | Whether to include the integration's advanced-options fields in the returned form. False (default) hides them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||