Skip to content

Add Repair next flow as repair flow#51744

Open
iluvdata wants to merge 6 commits into
home-assistant:devfrom
iluvdata:repair_next_flow_as_repair
Open

Add Repair next flow as repair flow#51744
iluvdata wants to merge 6 commits into
home-assistant:devfrom
iluvdata:repair_next_flow_as_repair

Conversation

@iluvdata
Copy link
Copy Markdown
Contributor

Breaking change

None anticipated. 🤞🏻

Proposed change

  • Add support for issue repair flows to support next_flow being another repair flow as discussed in Add next_flow to Repair Flows core#165091 (comment)
  • Remove frontend requirement for the step.type to be create_entry to allow abort as well which is how the backend implements next flows in Config Entry Flows, Options Flows, and Subentry Config Flows. See async_abort in ConfigFlow.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

To help with the load of incoming pull requests:

dialogClosedCallback: this._params!.dialogClosedCallback,
});
} else if (_step.next_flow[0] === "options_flow") {
if (_step.type === "create_entry") {
Copy link
Copy Markdown
Contributor Author

@iluvdata iluvdata Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check is not needed plus the backend supports _step.type === "abort".

Same with Subentry and Option flows.

@iluvdata iluvdata changed the title Repair next flow as repair Add Repair next flow as repair flow Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants