Skip to content

v1.2.2

Choose a tag to compare

@markminnoye markminnoye released this 19 Jun 12:16
· 21 commits to main since this release

v1.2.2 — mDNS-first discovery + D3 naamgeving

Changed

  • Integration heet nu IPBuilding Gateway (was IPBuilding Gateway Companion). De device-tree blijft gateway → module → kanaal.
  • mDNS-first discovery (zoals Shelly). async_step_zeroconf werkt nu ook voor Supervisor add-ons — de duplicate-guard already_discovered_addon is verwijderd.
  • async_step_hassio leest nu instance_id uit de Supervisor config payload, zodat de unique_id tussen zeroconf en HassIO discovery aligned is.

Added

  • Discovery TXT schema v2: nieuwe TXT-velden sw (alias van version), host, port en mac. DISCOVERY_SCHEMA_VERSION gebumped naar 2.
  • Naamgeving bij toevoegen (D3): één nieuwe confirm step vervangt hassio_confirm en discovery_confirm. Default naam = instance_id[:8] (of gateway), operator kan aanpassen. Gekozen naam komt in config-entry title (IPBuilding Gateway (<naam>)) en flow_title.
  • mac en sw_version in GatewayDiscoveryInfo. Lege macNone.
  • Translaties: nieuwe flow_title en confirm step met placeholders {addon}, {version}, {url}, {name}.

Tests

  • Nieuw: tests/test_discovery_parser.py (schema v2 + mac + sw-fallback) en tests/test_config_flow_confirm.py (default naam truncatie + refactor smoke-tests).

Vereisten

  • Gateway ≥ 1.0.4 voor de nieuwe TXT-velden. Oudere gateways blijven werken via fallback.