Bluetooth-Devices / bthome-ble

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

feat: add gas water energy meter #54

Closed Ernst79 closed 1 year ago

Ernst79 commented 1 year ago

Add sensors for water/gas/electricity meters with 4 bytes (factor 0.001).

This PR fixes #52

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change

Comparison is base (05fcea0) 75.11% compared to head (152bcea) 75.11%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #54 +/- ## ======================================= Coverage 75.11% 75.11% ======================================= Files 6 6 Lines 450 450 Branches 68 68 ======================================= Hits 338 338 Misses 90 90 Partials 22 22 ``` | [Impacted Files](https://codecov.io/gh/Bluetooth-Devices/bthome-ble/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/bthome\_ble/const.py](https://codecov.io/gh/Bluetooth-Devices/bthome-ble/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2J0aG9tZV9ibGUvY29uc3QucHk=) | `100.00% <ø> (ø)` | | | [src/bthome\_ble/\_\_init\_\_.py](https://codecov.io/gh/Bluetooth-Devices/bthome-ble/pull/54?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2J0aG9tZV9ibGUvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | 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.