Skip to content

Commit

Permalink
Add a few notes to the design doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdwetering committed Jun 27, 2024
1 parent c7bc8fd commit 25d8260
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,14 @@ Need to check for event only updates if they exist.
That might also explain the lists of GET commands found on the internet to indicate what is supported for a device.

Would allow for an API where attributes are only added when _really_ supported by that specific model and not in general.

### Better events/updates

Currently events/updates from the receiver are just passed in a callback with everything as strings.

A better version would be nice.

* Typed arguments?
* Register for specific updates (next to all?)
* Would still need a raw callback

0 comments on commit 25d8260

Please sign in to comment.