Skip to content

Commit

Permalink
do not forward OTA cluster messages to zigpy layer as they will be pr…
Browse files Browse the repository at this point in the history
…ocessed by the Z4D plugin
  • Loading branch information
pipiche38 committed Nov 9, 2024
1 parent 47cfb32 commit e4cec0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Classes/ZigpyTransport/AppGeneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@ def packet_received(
plugin_frame = build_plugin_8002_frame_content(self, sender, profile, cluster, src_ep, dst_ep, message, packet.lqi, src_addrmode=addr_mode)
self.log.logging("TransportZigpy", "Debug", "packet_received Sender: %s frame for plugin: %s" % (sender, plugin_frame))
self.callBackFunction(plugin_frame)

if cluster == 0x0019:
# Do not forward message to zigpy, it will be managed by Z4D plugin
return

super(type(self),self).packet_received(packet)


Expand Down

0 comments on commit e4cec0c

Please sign in to comment.