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

maximunited / imou_life
90%

Build:
DEFAULT BRANCH: master
Repo Added 21 Aug 2025 08:56PM UTC
Files 23
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • master
  • refactor/fix-scrutinizer-issues
  • test-precommit

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

Relevant lines Covered
Build:
Build:
1808 RELEVANT LINES 1634 COVERED LINES
3.61 HITS PER LINE
Source Files on master
  • Tree
  • List 23
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26846100064 master 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... push 02 Jun 2026 08:30PM UTC web-flow github
90.38
26816552160 master deps(deps): bump the python-dependencies group in /config with 3 updates (#68) Updates the requirements on [python-semantic-release](https://github.com/python-semantic-release/python-semantic-release), [coverage](https://github.com/coveragepy/cov... push 02 Jun 2026 11:26AM UTC web-flow github
90.34
26816520923 master ci(deps): bump the github-actions group with 2 updates (#67) Bumps the github-actions group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [python-semantic-release/python-semantic-release](https://github.com/p... push 02 Jun 2026 11:26AM UTC web-flow github
90.34
26705777352 master fix: reset rate limit cycle when estimated reset time expires (#65) * fix: reset rate limit cycle when estimated reset time expires When a rate limit hit occurred after estimated_reset_time had passed, record_rate_limit() kept the old (now past)... push 31 May 2026 06:52AM UTC web-flow github
90.34
26695399392 master feat: add tiered polling to reduce API call volume by 66% (#64) Fast cycles (3 of 4) poll only critical sensors (online status + motion alarm = 2 API calls). Full cycles (every 4th) poll everything (~16 calls). Reduces daily API calls from ~1,536... push 30 May 2026 09:31PM UTC web-flow github
90.33
26694497624 master fix: stop probing after 3 rate limit failures and wait for reset (#63) * fix: scale rate limit backoff with hit count The backoff was fixed at 300s regardless of how many times the rate limit was hit, causing an infinite retry loop every 5 minut... push 30 May 2026 08:47PM UTC web-flow github
90.64
26686193232 master fix: scale rate limit backoff with hit count (#62) The backoff was fixed at 300s regardless of how many times the rate limit was hit, causing an infinite retry loop every 5 minutes. Now the backoff scales linearly with hit_count (5min, 10min, 15m... push 30 May 2026 02:25PM UTC web-flow github
90.84
26685233213 master fix: handle oversized identifier tuples in orphan cleanup (#61) Device identifiers can have more than 2 elements, causing ValueError on tuple unpacking. Use index access with length guard instead. Co-authored-by: Claude Sonnet 4.5 <noreply@anthr... push 30 May 2026 01:40PM UTC web-flow github
90.84
26684280811 master fix: auto-cleanup orphan devices on entry setup (#60) * fix: auto-cleanup orphan devices on entry setup When a config entry is deleted and re-added, the old device registry entry (keyed by the previous entry_id) was left behind as an orphan. Thi... push 30 May 2026 12:53PM UTC web-flow github
90.84
26682775980 master refactor: migrate release flow to python-semantic-release (#59) * refactor: migrate release flow to python-semantic-release Replace the custom git-bump PowerShell script and complex 240-line release workflow with python-semantic-release (PSR) fo... push 30 May 2026 11:36AM UTC web-flow github
90.76
See All Builds (155)
  • Repo on GitHub
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