Skip to content

Using a server URL with pathname results in server not being added #4625

@TomasHubelbauer

Description

@TomasHubelbauer

Device model, version and app version

Model Name: MacBook Pro
macOS Version: 26.5 (25F71)
App Version: 2026.4.1
Safari Version: 26.5

Home Assistant Core Version
2026.5.1

Describe the bug
When using the macOS Home Assistant companion app downloaded from the App Store, in the onboarding flow when I select Enter Address Manually (because my HA instance is not on my local network, I am connecting to one that's accessible via Tailscale instead) and then enter a URL with a pathname, like /lovelace/0 instead of just the base URL, after signing in in the dialog for adding a new server, instead of the dialog closing and the server getting stored in the application's settings, the dialog web view loads to show the URL I entered.

To Reproduce
^

Expected behavior
I believe the app should be able to handle this and trim the path name automatically, or alternatively recognize the HA instance logged in successfully regardless of a path name in the URL.

Screenshots
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions