Skip to content

Fix fiat charge not stopping#4

Merged
FraBoCH merged 20 commits intomasterfrom
fix-fiat-charge-not-stopping
Feb 23, 2026
Merged

Fix fiat charge not stopping#4
FraBoCH merged 20 commits intomasterfrom
fix-fiat-charge-not-stopping

Conversation

@FraBoCH
Copy link
Copy Markdown
Owner

@FraBoCH FraBoCH commented Feb 23, 2026

Enhance charge schedule management by refining time handling, ensuring proper API acceptance, and avoiding unnecessary updates. Address edge cases related to charge sessions spanning multiple days and improve error handling in the Fiat vehicle API. Clarify conditions and streamline code for better readability and maintainability.

Fix edge case of charge not stopping if charge session runs since the night before
As fiat system only supports schedules at 5 minutes interval, rounding to the next five minutes improves probability of the command be successful the first time
Instead playing with Time objects and edge case, simply parse defined schedule as string and make sure it's consistent
… ensure proper time rounding to avoid API errors
@FraBoCH FraBoCH merged commit 70381a5 into master Feb 23, 2026
6 of 12 checks passed
@FraBoCH FraBoCH deleted the fix-fiat-charge-not-stopping branch February 23, 2026 21:14
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.

1 participant