Skip to content

Add repair flow to add newly detected remotes#10

Merged
kongo09 merged 1 commit intomainfrom
feature/repair-flow-add-remote
Mar 6, 2026
Merged

Add repair flow to add newly detected remotes#10
kongo09 merged 1 commit intomainfrom
feature/repair-flow-add-remote

Conversation

@kongo09
Copy link
Copy Markdown
Owner

@kongo09 kongo09 commented Mar 6, 2026

Summary

  • The "new remote found" repair issue now has a Fix button (is_fixable=True)
  • Clicking Fix opens a confirm dialog that adds the remote to the watched list, dismisses the issue, and triggers a rescan
  • New repairs.py module with AddRemoteRepairFlow and async_create_fix_flow
  • Updated strings/translations (en, de, fr, es) with fix_flow step text
  • 4 new tests covering the repair flow

Test plan

  • All 49 tests pass
  • Linting clean (ruff check + ruff format)
  • Manual: add a new Broadlink/Tuya remote, verify repair issue appears with Fix button
  • Manual: click Fix, confirm, verify remote is added and buttons are created

🤖 Generated with Claude Code

When a new compatible remote is detected, the repair issue now has a
"Fix" button that lets the user add it to the watched list directly,
without navigating to the options flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kongo09 kongo09 merged commit e1a1bb1 into main Mar 6, 2026
4 checks passed
@kongo09 kongo09 deleted the feature/repair-flow-add-remote branch March 6, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant