Skip to content

Avoid auto-accepting Home Assistant invitation link#4685

Open
bgoncal wants to merge 1 commit into
mainfrom
stop-auto-accept-invite
Open

Avoid auto-accepting Home Assistant invitation link#4685
bgoncal wants to merge 1 commit into
mainfrom
stop-auto-accept-invite

Conversation

@bgoncal
Copy link
Copy Markdown
Member

@bgoncal bgoncal commented Jun 1, 2026

Summary

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

@bgoncal bgoncal self-assigned this Jun 1, 2026
Copilot AI review requested due to automatic review settings June 1, 2026 14:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the onboarding server selection behavior when launched with a Home Assistant invitation link (prefillURL) so the app no longer immediately proceeds to authentication/connection without explicit user action.

Changes:

  • Stops auto-selecting the prefillURL instance on first appearance of the servers list screen.
  • Only starts Bonjour discovery when there is no prefillURL (i.e., not in the invitation-link flow).

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@9779d05). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4685   +/-   ##
=======================================
  Coverage        ?   43.86%           
=======================================
  Files           ?      280           
  Lines           ?    17021           
  Branches        ?        0           
=======================================
  Hits            ?     7466           
  Misses          ?     9555           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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