Skip to content

fix: separate attempted/skipped tracking in applyChargeLimit logging - #658

Merged
ngardiner merged 1 commit into
mainfrom
ble_apply_charge_limit
Jul 30, 2026
Merged

fix: separate attempted/skipped tracking in applyChargeLimit logging#658
ngardiner merged 1 commit into
mainfrom
ble_apply_charge_limit

Conversation

@MikeBishop

Copy link
Copy Markdown
Collaborator

This is a commit that got lost in the separation / merge of the two separate PRs.

Track attempted_count and skipped_count separately in applyChargeLimit
instead of conflating them into success_count. Only log info message if
attempted_count > 0, avoiding misleading logs when all vehicles are
skipped (already applied or no saved limit).

Log format now shows: "X/Y attempted succeeded, Z skipped"
when commands are attempted, or silently succeeds when all vehicles
are already handled (skipped).

Mirrors the fix applied to car_api_charge().
@github-actions

Copy link
Copy Markdown

Test Results

2 652 tests  ±0   2 592 ✅ ±0   13m 16s ⏱️ -3s
    8 suites ±0       8 💤 ±0 
    8 files   ±0      52 ❌ ±0 

For more details on these failures, see this check.

Results for commit 7256bdf. ± Comparison against base commit 9c05faa.

@ngardiner
ngardiner merged commit e57169e into main Jul 30, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants