zigpy / zigpy-znp

TI CC2531, CC13x2, CC26x2 radio support for Zigpy and ZHA
GNU General Public License v3.0
144 stars 40 forks source link

Fail with descriptive errors when coordinator is disconnected #203

Closed puddly closed 1 year ago

puddly commented 1 year ago

AttributeError: 'NoneType' object has no attribute 'request_callback_rsp' makes it sound like there is a library bug.

codecov-commenter commented 1 year ago

Codecov Report

Base: 98.52% // Head: 98.52% // Increases project coverage by +0.00% :tada:

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

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #203 +/- ## ======================================= Coverage 98.52% 98.52% ======================================= Files 43 43 Lines 3799 3803 +4 ======================================= + Hits 3743 3747 +4 Misses 56 56 ``` | [Impacted Files](https://codecov.io/gh/zigpy/zigpy-znp/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy) | Coverage Δ | | |---|---|---| | [zigpy\_znp/api.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL2FwaS5weQ==) | `96.95% <100.00%> (+0.24%)` | :arrow_up: | | [zigpy\_znp/zigbee/application.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/203?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL3ppZ2JlZS9hcHBsaWNhdGlvbi5weQ==) | `94.80% <100.00%> (-0.24%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy)

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