Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
69 stars 14 forks source link

Multiple measurements of the same type #14

Closed Ernst79 closed 1 year ago

Ernst79 commented 1 year ago

Adding support for multiple measurements of the same type (fixes https://github.com/home-assistant/bthome.io/issues/7)

Will work both with bthome V1 and V2.

codecov[bot] commented 1 year ago

Codecov Report

Base: 74.92% // Head: 75.71% // Increases project coverage by +0.78% :tada:

Coverage data is based on head (e0d58a0) compared to base (4a4fe68). Patch coverage: 76.47% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## V2 #14 +/- ## ========================================== + Coverage 74.92% 75.71% +0.78% ========================================== Files 6 6 Lines 335 350 +15 Branches 51 55 +4 ========================================== + Hits 251 265 +14 - Misses 64 65 +1 Partials 20 20 ``` | [Impacted Files](https://codecov.io/gh/Bluetooth-Devices/bthome-ble/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/bthome\_ble/parser.py](https://codecov.io/gh/Bluetooth-Devices/bthome-ble/pull/14/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2J0aG9tZV9ibGUvcGFyc2VyLnB5) | `77.20% <76.47%> (+1.02%)` | :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=None). 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=None)

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