Bluetooth-Devices / bthome-ble

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

feat: remove predefined device info #15

Closed Ernst79 closed 1 year ago

Ernst79 commented 1 year ago

Removing the predefined device info flag and bytes. Adding a device_info_available flag for future use (flag that additional device info is available by reading GATT characteristics).

codecov[bot] commented 1 year ago

Codecov Report

Base: 75.71% // Head: 75.93% // Increases project coverage by +0.21% :tada:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## V2 #15 +/- ## ========================================== + Coverage 75.71% 75.93% +0.21% ========================================== Files 6 5 -1 Lines 350 349 -1 Branches 55 57 +2 ========================================== Hits 265 265 Misses 65 65 + Partials 20 19 -1 ``` | [Impacted Files](https://codecov.io/gh/Bluetooth-Devices/bthome-ble/pull/15?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/15/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2J0aG9tZV9ibGUvcGFyc2VyLnB5) | `78.12% <100.00%> (+0.92%)` | :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.