mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 20:36:29 +00:00
Clarify config flow step definitions (#1683)
* Clarify config flow step definitions * Update docs/config_entries_config_flow_handler.md Co-authored-by: Martin Hjelmare <marhje52@gmail.com> --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
838db3fad4
commit
40559d2405
@ -32,7 +32,7 @@ Once you have updated your manifest and created the `config_flow.py`, you will n
|
||||
|
||||
## Defining steps
|
||||
|
||||
Your config flow will need to define steps of your configuration flow. The docs for [Data Entry Flow](data_entry_flow_index.md) describe the different return values of a step. Here is an example on how to define the `user` step.
|
||||
Your config flow will need to define steps of your configuration flow. Each step is identified by a unique step name (`step_id`). The step callback methods follow the pattern `async_step_<step_id>`. The docs for [Data Entry Flow](data_entry_flow_index.md) describe the different return values of a step. Here is an example of how to define the `user` step:
|
||||
|
||||
```python
|
||||
import voluptuous as vol
|
||||
|
Loading…
x
Reference in New Issue
Block a user