eifinger / hass-weenect

Homeassistant integration for weenect
MIT License
10 stars 2 forks source link

fix: handle empty last_message_received #323

Closed eifinger closed 10 months ago

eifinger commented 10 months ago

Fixes: #318

codecov[bot] commented 10 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (64db8e7) 98.16% compared to head (a3e3709) 98.20%. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #323 +/- ## ========================================== + Coverage 98.16% 98.20% +0.03% ========================================== Files 20 20 Lines 654 668 +14 ========================================== + Hits 642 656 +14 Misses 12 12 ``` | [Flag](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger) | `98.20% <100.00%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger) | Coverage Δ | | |---|---|---| | [custom\_components/weenect/const.py](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger#diff-Y3VzdG9tX2NvbXBvbmVudHMvd2VlbmVjdC9jb25zdC5weQ==) | `100.00% <100.00%> (ø)` | | | [custom\_components/weenect/sensor.py](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger#diff-Y3VzdG9tX2NvbXBvbmVudHMvd2VlbmVjdC9zZW5zb3IucHk=) | `96.07% <100.00%> (+0.07%)` | :arrow_up: | | [tests/conftest.py](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger#diff-dGVzdHMvY29uZnRlc3QucHk=) | `100.00% <100.00%> (ø)` | | | [tests/test\_sensor.py](https://app.codecov.io/gh/eifinger/hass-weenect/pull/323?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Eifinger#diff-dGVzdHMvdGVzdF9zZW5zb3IucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.