• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

maximunited / imou_life / 25213885077
90%

Build:
DEFAULT BRANCH: master
Ran 01 May 2026 12:15PM UTC
Jobs 3
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 May 2026 12:13PM UTC coverage: 73.232% (-0.09%) from 73.323%
25213885077

push

github

maximunited
feat: add Battery Notes integration support

Add battery metadata for better compatibility with HA-Battery-Notes integration.

Features:
- New battery_types.py module with battery specifications by model
- Automatic battery type detection (rechargeable vs replaceable)
- Battery sensor exposes attributes for Battery Notes:
  * battery_type (e.g., 'Rechargeable Li-ion 5200mAh', '4× AA')
  * battery_quantity (number of batteries)
  * is_rechargeable (true/false)
  * typical_battery_life_days (for replaceable only)

Supported Models:
- Cell Series: IPC-A26HP, IPC-A26Z (Li-ion 5200mAh)
- Cell Pro: IPC-A28HWP (Li-ion 10400mAh)
- Cell Go: IPC-A22E, IPC-A22EP (4× AA batteries)

Documentation:
- BATTERY_NOTES_INTEGRATION.md with setup guide
- Battery specifications by model
- Automation examples
- Troubleshooting guide

Benefits:
- Battery Notes can auto-detect battery type
- Track battery replacement/charging dates
- Get low battery alerts
- Monitor battery life statistics

All tests passing (13/13 sensor tests ?).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

23 of 33 new or added lines in 2 files covered. (69.7%)

963 of 1315 relevant lines covered (73.23%)

2.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
73.68
custom_components/imou_life/battery_types.py
5
88.31
-5.34% custom_components/imou_life/sensor.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.12 - 25213885077.1 01 May 2026 12:15PM UTC 21
73.23
GitHub Action Run
2 run-3.13 - 25213885077.2 01 May 2026 12:16PM UTC 21
73.23
GitHub Action Run
3 run-3.11 - 25213885077.3 01 May 2026 12:15PM UTC 21
73.23
GitHub Action Run
Source Files on build 25213885077
  • Tree
  • List 21
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25213885077
  • 31ebe30d on github
  • Prev Build on master (#25213377747)
  • Next Build on master (#25214927541)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc