Skip to content

Commit

Permalink
Fix ZGP profile and endpoint handling
Browse files Browse the repository at this point in the history
  • Loading branch information
konistehrad committed Dec 11, 2023
1 parent 9c664a1 commit 53ca4f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zigpy_znp/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,9 @@ def _find_endpoint(self, dst_ep: int, profile: int, cluster: int) -> int:

if dst_ep == ZDO_ENDPOINT:
return ZDO_ENDPOINT

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

# Newer Z-Stack releases ignore profiles and will work properly with endpoint 1
if (
Expand Down

0 comments on commit 53ca4f4

Please sign in to comment.