Skip to content

Improve ZGP device representation#8218

Merged
manup merged 1 commit into
dresden-elektronik:masterfrom
manup:master
May 6, 2025
Merged

Improve ZGP device representation#8218
manup merged 1 commit into
dresden-elektronik:masterfrom
manup:master

Conversation

@manup
Copy link
Copy Markdown
Member

@manup manup commented May 6, 2025

  • Device class introduce DEV_ZgpStateHandler() which hides attr/nwkaddress and sets capabilitiess/sleeper to true.
  • Remove attr/lastannounced because ZGP devices don't do this and hence attribute was always null.
  • Always set attr/lastseen when ZGP button event is received.
  • When pairing a ZGP device make sure its parent is set to respective Device.

- Device class introduce `DEV_ZgpStateHandler()` which hides `attr/nwkaddress` and sets `capabilitiess/sleeper` to `true`.
- Remove `attr/lastannounced` because ZGP devices don't do this and hence attribute was always `null`.
- Always set `attr/lastseen` when ZGP button event is received.
- When pairing a ZGP device make sure its parent is set to respective Device.
@manup manup added this to the v2.30.1-beta milestone May 6, 2025
@manup manup merged commit 69897f9 into dresden-elektronik:master May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant