Skip to content

# Bug: supervisor_add_addon_repository redirect does not open pre-filled add repository dialog #698

Description

@smcneece

Description

The supervisor_add_addon_repository My Home Assistant redirect no longer triggers the pre-filled add repository dialog in the App Store. Clicking "Open link" on the my.home-assistant.io intermediate page opens the App Store correctly, but the add repository dialog does not appear and the repository_url parameter is silently ignored.

Steps to Reproduce

  1. Click a badge link in the format:
    https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fsmcneece%2Fbattery-sentinel
  2. The my.home-assistant.io intermediate page appears correctly — instance URL is shown, description reads "Show the add app repository dialog with a specific repository URL pre-filled in Home Assistant"
  3. Click Open link

Expected Behavior

The Home Assistant App Store opens and a dialog appears with the repository URL pre-filled, ready for the user to confirm by clicking Add.

Actual Behavior

The Home Assistant App Store opens but no dialog appears. The repository_url parameter is not processed. The user has no indication that anything was supposed to happen.

Environment

Tested on two separate Home Assistant OS instances, both fully up to date:

Production Test VM
Browser Firefox Microsoft Edge
Installation Home Assistant OS Home Assistant OS
Core 2026.4.3 2026.4.3
Supervisor 2026.04.0 2026.04.0
Operating System 17.2 17.2
Frontend 20260325.7 20260325.7

Both instances have My Home Assistant configured. The intermediate redirect page displays correctly with the correct instance URL on both. Manual repository add via Settings → Apps → App Store → ⋮ → Repositories → + Add works correctly on both instances.

Notes

  • The intermediate my.home-assistant.io page correctly describes the intended behavior, so the redirect type and repository_url parameter appear to be recognized by the service
  • The failure occurs after "Open link" is clicked — the parameter is not passed through to or processed by the HA frontend
  • This appears to be a regression; this redirect type has been used widely in add-on README badges and previously worked

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions