Skip to content

Update the template to the SDK 0.4.0 pairing contract - #13

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

MarkParker5 merged 10 commits into
developfrom
feature/pairing-draft

Conversation

@MarkParker5

Copy link
Copy Markdown
Member
  • The controller is a skeleton to fill: placeholder bodies with the SDK 0.4.0 contract as checklists (pairing fills the Hub's draft, unpair is the rollback, physical_id vs id).
  • Typed example classes (ExampleDevice, ExampleDeviceState, ExampleParameter and their data models) that every call's arguments are parsed into.
  • The runtime parts (server in config.py, needs, Settings, hooks) are placeholders too; the working echo-server demo moves to the docs.
  • Controller tests are prefilled to fail until each method is done; the template's own CI runs the rest.

Tested: ruff, ty, the template's own test run and the prefilled suite (fails as intended).

Added project banner for MajorDom with responsive images.
Roll back failed pairings through unpair, keep pairing idempotent,
raise DeviceUnreachableError, and key devices by physical_id.
Raise the SDK pin to 0.4.0, which needs Python 3.13.
Drop the fake acme library and its commented-out example bodies; keep
the pairing contract as checklist comments and TODO tests.
@MarkParker5
MarkParker5 merged commit 12b0519 into develop Nov 13, 2026
5 checks passed
@MarkParker5
MarkParker5 deleted the feature/pairing-draft branch November 13, 2026 01:46
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