github
feat: Add INA219 battery sensor (#2380) * specify specific pip version wich works with zmq install * add INA219 sensor * average measurement for more accurate results. Use supply voltage for measurement. * Revert "specify specific pip version wich works with zmq install" This reverts commit 48dd1bfc6. * correct format * Update src/jukebox/components/battery_monitor/batt_mon_i2c_ina219/__init__.py Co-authored-by: s-martin <s-martin@users.noreply.github.com> * Update copyright notice * Update license * Update license * Document the INA219 * add error handling and type safety * Update batterymonitor.md * Update __init__.py * fix markdown lint for batterymonitor.md * fix markdown lint batterymonitor.md * Update documentation/builders/components/power/batterymonitor.md Co-authored-by: s-martin <s-martin@users.noreply.github.com> * Update documentation/builders/components/power/batterymonitor.md Co-authored-by: s-martin <s-martin@users.noreply.github.com> --------- Co-authored-by: Timm <sauegetier@googlemail.com> Co-authored-by: s-martin <s-martin@users.noreply.github.com>
56 of 105 new or added lines in 4 files covered. (53.33%)
492 of 1290 relevant lines covered (38.14%)
1.53 hits per line