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

Use xbee endpoint as source if set #175

Closed prairiesnpr closed 1 year ago

prairiesnpr commented 1 year ago

When using an xbee as end device, the source endpoint needs to match the destination endpoint, (0XE6 or 0XE8) this will retain the source endpoint instead of overriding it.

codecov-commenter commented 1 year ago

Codecov Report

Base: 98.60% // Head: 98.57% // Decreases project coverage by -0.02% :warning:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #175 +/- ## ========================================== - Coverage 98.60% 98.57% -0.03% ========================================== Files 43 43 Lines 3865 3871 +6 ========================================== + Hits 3811 3816 +5 - Misses 54 55 +1 ``` | [Impacted Files](https://codecov.io/gh/zigpy/zigpy-znp/pull/175?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy) | Coverage Δ | | |---|---|---| | [zigpy\_znp/zigbee/application.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL3ppZ2JlZS9hcHBsaWNhdGlvbi5weQ==) | `95.08% <50.00%> (-0.41%)` | :arrow_down: | | [zigpy\_znp/const.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL2NvbnN0LnB5) | `100.00% <100.00%> (ø)` | | | [zigpy\_znp/api.py](https://codecov.io/gh/zigpy/zigpy-znp/pull/175/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfem5wL2FwaS5weQ==) | `97.15% <0.00%> (+0.23%)` | :arrow_up: | 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.

prairiesnpr commented 1 year ago

Closing in favor of https://github.com/zigpy/zigpy-znp/pull/181