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

maximunited / imou_life / 26846100064
90%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2026 08:30PM UTC
Jobs 4
Files 23
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

02 Jun 2026 08:28PM UTC coverage: 90.376% (+0.03%) from 90.344%
26846100064

push

github

web-flow
fix: reduce rate limit log spam and handle empty API errors (#66)

* fix: reduce rate limit log spam and handle empty API error messages

Demote repeated "Skipping device initialization due to active rate limit"
from warning to debug — the initial rate-limit warning is sufficient,
and HA retries were producing 800+ redundant warnings per cycle.

Add fallback for ImouException instances with empty messages so logs
show the exception type and title instead of bare "Imou API error: ".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: extract exception_message helper with .strip() for whitespace-only messages

Address Qodo review findings: add .strip() to handle whitespace-only
exception messages, and extract the shared fallback logic into a
reusable helper in helpers.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

8 of 9 new or added lines in 3 files covered. (88.89%)

1634 of 1808 relevant lines covered (90.38%)

3.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.96
0.02% custom_components/imou_life/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.14 - 26846100064.1 02 Jun 2026 08:30PM UTC 23
90.32
GitHub Action Run
2 run-3.12 - 26846100064.2 02 Jun 2026 08:30PM UTC 23
90.38
GitHub Action Run
3 run-3.13 - 26846100064.3 02 Jun 2026 08:30PM UTC 23
90.38
GitHub Action Run
4 run-3.11 - 26846100064.4 02 Jun 2026 08:30PM UTC 23
90.38
GitHub Action Run
Source Files on build 26846100064
  • Tree
  • List 23
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26846100064
  • 95802bef on github
  • Prev Build on master (#26816552160)
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