Skip to content

fix: match rediscovered hubs by address - Issue #692 - #780

Merged
andyblac merged 1 commit into
asantaga:devfrom
andyblac:Issue692
Oct 28, 2026
Merged

andyblac merged 1 commit into
asantaga:devfrom
andyblac:Issue692

Conversation

@andyblac

Copy link
Copy Markdown
Collaborator

Summary
Fixes continued duplicate Zeroconf discovery of an already configured Wiser hub.

The existing fix matched rediscovered hubs by their configured name, including numbered Zeroconf suffixes. However, legacy entries may have a title or unique ID that no longer matches the hub’s advertised name.

This update also matches discovery against the configured:

  • IP address
  • Hostname
  • Hub name
  • Unique ID-derived hub name
    When a matching entry is found, discovery is aborted directly instead of offering the same hub again.
    Testing
  • Added regression coverage for a legacy configured entry rediscovered at the same IP address.
  • Retained coverage for suffixed Zeroconf names.
  • Confirmed unknown hubs are not incorrectly matched.
  • 55 focused config-flow and translation tests pass.
    Fixes once again wiser hub appear in HA #692

@andyblac andyblac changed the title fix: match rediscovered hubs by address fix: match rediscovered hubs by address - Issue #692 Oct 28, 2026
@andyblac
andyblac merged commit 6d61a91 into asantaga:dev Oct 28, 2026
2 checks passed
@andyblac
andyblac deleted the Issue692 branch October 29, 2026 08:39
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