Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ZGP profile and endpoint handling #235

Merged
merged 2 commits into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions zigpy_znp/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,9 @@
if dst_ep == ZDO_ENDPOINT:
return ZDO_ENDPOINT

if profile == zigpy.profiles.zgp.PROFILE_ID:
return zigpy.profiles.zgp.GREENPOWER_ENDPOINT_ID

Check warning on line 696 in zigpy_znp/zigbee/application.py

View check run for this annotation

Codecov / codecov/patch

zigpy_znp/zigbee/application.py#L696

Added line #L696 was not covered by tests

# Newer Z-Stack releases ignore profiles and will work properly with endpoint 1
if (
self._zstack_build_id >= 20210708
Expand Down
Loading