power-compare/app/api
dlawler489 591da31e60
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 18s
Fix range_days undercounting for the "all time" battery range
(end - start).days truncates instead of rounding, so "all time" (which
starts at the earliest reading's exact timestamp, rarely local midnight)
could report fewer range_days than days_with_data -- reads backwards
("5 of 4 days have data"). Round the duration up instead; day-aligned
presets and custom ranges are unaffected since they're already exact
multiples of 24h.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-13 11:13:19 +10:00
..
__init__.py Initial commit: solar usage vs AER plan comparison app 2026-09-09 11:07:01 +10:00
isolarcloud.py Share one iSolarCloud OAuth token across both household instances 2026-09-13 08:04:30 +10:00
plans.py Initial commit: solar usage vs AER plan comparison app 2026-09-09 11:07:01 +10:00
settings.py Initial commit: solar usage vs AER plan comparison app 2026-09-09 11:07:01 +10:00
usage.py Fix range_days undercounting for the "all time" battery range 2026-09-13 11:13:19 +10:00