Bluetooth-Devices / bthome-ble

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

feat: add binary sensors #7

Closed Ernst79 closed 2 years ago

Ernst79 commented 2 years ago

This PR adds support for binary sensors to BTHome

codecov[bot] commented 2 years ago

Codecov Report

Merging #7 (b428339) into main (ca7733d) will increase coverage by 0.08%. The diff coverage is 73.07%.

:exclamation: Current head b428339 differs from pull request most recent head ffce92d. Consider uploading reports for the commit ffce92d to get more accurate results

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   68.13%   68.22%   +0.08%     
==========================================
  Files           3        3              
  Lines         204      214      +10     
  Branches       41       45       +4     
==========================================
+ Hits          139      146       +7     
- Misses         48       49       +1     
- Partials       17       19       +2     
Impacted Files Coverage Δ
src/bthome_ble/parser.py 65.82% <63.15%> (-0.14%) :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.