Skip to content

Port pairing to the SDK 0.4.0 draft contract - #19

Merged
MarkParker5 merged 15 commits into
developfrom
feature/pairing-draft
Nov 12, 2026
Merged

MarkParker5 merged 15 commits into
developfrom
feature/pairing-draft

Conversation

@MarkParker5

Copy link
Copy Markdown
Member

Ports the integration to the SDK 0.4.0 pairing contract. Part of one change across the SDK, the Hub and the 5 integrations; needs the SDK released first.

  • Pairs into the Hub's draft; nothing is saved during pairing.
  • Devices are identified by physical_id; the Hub owns id.
  • unpair doubles as the rollback of a failed pairing, undoing only what blocks a clean re-pair, and is safe to call again.
  • A retried pair_device confirms state a failed attempt left behind instead of refusing it.
  • Output calls pass physical_id= by keyword.
  • Identity from serial number, unique id, or the attestation certificate.

Tested: unit tests (176 passed); cage hardware suite through the Hub (IKEA bulb, 4/4). Reviewed.
Depends on MajorDom-Systems/integration-sdk#21.

@MarkParker5
MarkParker5 merged commit 9da10c1 into develop Nov 12, 2026
6 checks passed
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