Bluetooth-Devices / bthome-ble

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

feat: add binary sensors #8

Closed Ernst79 closed 2 years ago

Ernst79 commented 2 years ago

feat: add constants for binary sensors device classes feat: add moisture device class as supported ha device class

codecov[bot] commented 2 years ago

Codecov Report

Merging #8 (586c4c0) into main (d48783e) will increase coverage by 0.10%. The diff coverage is 71.42%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   68.22%   68.32%   +0.10%     
==========================================
  Files           3        3              
  Lines         214      221       +7     
  Branches       45       47       +2     
==========================================
+ Hits          146      151       +5     
  Misses         49       49              
- Partials       19       21       +2     
Impacted Files Coverage Δ
src/bthome_ble/parser.py 65.17% <53.84%> (-0.66%) :arrow_down:
src/bthome_ble/__init__.py 100.00% <100.00%> (ø)
src/bthome_ble/const.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.