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 frame counter bug with conversion between zigpy and EZSP key types #518

Merged
merged 2 commits into from
Nov 29, 2022

Conversation

puddly
Copy link
Contributor

@puddly puddly commented Nov 29, 2022

The unit tests accidentally used return instead of assert and were actually failing.

The side effect of this bug existing is that the outgoing frame counter was set equal to the incoming frame counter, which is often quite low (or zero) 🤦‍♂️.

@codecov-commenter
Copy link

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (b7a3925) compared to base (a941dff).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #518   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           47        47           
  Lines         3305      3305           
=========================================
  Hits          3305      3305           
Impacted Files Coverage Δ
bellows/zigbee/util.py 100.00% <100.00%> (ø)

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

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

@puddly puddly merged commit 9d0de3e into zigpy:dev Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants