Skip to content

Port pairing to the SDK 0.4.0 draft contract - #11

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

MarkParker5 merged 10 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.
  • No pending_pairings.json any more; pairing data lives in integration_data.

Tested: unit tests (41 passed). Reviewed.
Depends on MajorDom-Systems/integration-sdk#21.

@MarkParker5
MarkParker5 merged commit d11f631 into develop Nov 12, 2026
5 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