Skip to content

Return the read device from fetch - #23

Merged
MarkParker5 merged 2 commits into
developfrom
feature/fetch-returns-state
Nov 13, 2026
Merged

MarkParker5 merged 2 commits into
developfrom
feature/fetch-returns-state

Conversation

@MarkParker5

Copy link
Copy Markdown
Member
  • fetch(device) -> TDeviceState | None returns the whole device: its parameters with current values and available; None when it does not answer. Values are no longer reported as events from fetch.
  • pair_device sets identity and trust only (physical_id, integration_data, available); parameters come from the first fetch.
  • unpair docstrings: it undoes everything pairing did, talks to the device only, and on an unreachable device raises DeviceUnreachableError without changing anything else.
  • The dev CLI saves what fetch returns.

Tested: ruff, ty, full test suite.

@MarkParker5
MarkParker5 merged commit 7bf279f into develop Nov 13, 2026
5 checks passed
@MarkParker5
MarkParker5 deleted the feature/fetch-returns-state branch November 13, 2026 02:15
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