Skip to content

Use external/internal URL and optional version for mDNS discovery and add missing tests #4712

@bgoncal

Description

@bgoncal

Description

This PR changes the fields that we are reading from mDNS for the instance discovery to use the external/internal URLs available to match the current logic of core and make version optional. See home-assistant/developers.home-assistant#3130 (comment) for more details. Core implementation https://github.com/home-assistant/core/blob/d9a89beb3daaf68e3716f5f6e00cd22eed16e2eb/homeassistant/components/zeroconf/__init__.py#L273

Android PR: home-assistant/android#6970

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions