Skip to content

Properly handle older Z-Stack SYS.SetTxPower responses #82

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

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

puddly
Copy link
Collaborator

@puddly puddly commented Jul 23, 2021

Older Z-Stack releases reply to SYS.SetTxPower.Req with the set power level instead of a SUCCESS / INVALID_PARAMETER status code.

Fixes #81.

@codecov-commenter
Copy link

Codecov Report

Merging #82 (dc926ce) into dev (9bdf3ae) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #82      +/-   ##
==========================================
+ Coverage   98.65%   98.68%   +0.02%     
==========================================
  Files          44       44              
  Lines        3717     3722       +5     
==========================================
+ Hits         3667     3673       +6     
+ Misses         50       49       -1     
Impacted Files Coverage Δ
zigpy_znp/commands/sys.py 100.00% <ø> (ø)
zigpy_znp/config.py 100.00% <ø> (ø)
zigpy_znp/zigbee/application.py 95.70% <100.00%> (+0.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9bdf3ae...dc926ce. Read the comment docs.

@puddly puddly merged commit a076d7a into zigpy:dev Jul 23, 2021
@puddly
Copy link
Collaborator Author

puddly commented Oct 29, 2021

@Tao173, are you still having this issue tube0013/tube_gateways#39? If so, can you enable ZHA debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging) and post the section of the startup log right before this error?

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.

CC2538 + CC2592 set TX Power
2 participants