FlowHandler.async_show_progress has been updated:
step_idparameter is deprecated and will be removed in Home Assistant core release 2024.8
- A new argument
progress_taskhas been added, which will be mandatory in Home Assistant core release 2024.8
progress_task is passed,
- Send an event to fronted once the task has finished
- Cancel the
progress_taskif the user closes the config flow dialog before the task is done
This means derived classes are no longer responsible for interaction between the progress task state and the UI.
FlowHandler.async_show_progress will log a warning if it's called without a
progress_task. In Home Assistant core release 2024.8, the call will instead fail.