Skip to content

v0.1.3 — Fix switch entities and user data normalization

Choose a tag to compare

@dougrathbone dougrathbone released this 29 Mar 07:53
· 166 commits to main since this release

What's changed

  • Fix switch entities not appearing: 2N device returns the switch number as 'switch' key but code expected 'id'. All switch dicts are now normalized.
  • Fix user credentials display: Credentials (pin, card, code, validFrom, validTo) are extracted from the nested 'access' sub-object that the 2N API returns