zigpy-znp icon indicating copy to clipboard operation
zigpy-znp copied to clipboard

Subscribe to all ZDO cluster callbacks at once

Open puddly opened this issue 3 years ago • 1 comments
trafficstars

As opposed to subscribing to all ZDO responses individually, subscribe to them all with 0xFFFF and filter out the unnecessary ones in software.

This should reduce runtime memory usage.

puddly avatar Sep 18 '22 17:09 puddly

Codecov Report

Base: 98.60% // Head: 98.55% // Decreases project coverage by -0.05% :warning:

Coverage data is based on head (6930ccd) compared to base (824c2b2). Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #178      +/-   ##
==========================================
- Coverage   98.60%   98.55%   -0.06%     
==========================================
  Files          43       43              
  Lines        3865     3869       +4     
==========================================
+ Hits         3811     3813       +2     
- Misses         54       56       +2     
Impacted Files Coverage Δ
zigpy_znp/zigbee/application.py 94.86% <50.00%> (-0.63%) :arrow_down:
zigpy_znp/api.py 97.15% <0.00%> (+0.23%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Sep 18 '22 17:09 codecov-commenter