ryanw-mobile / OctoMeter

🔥Kotlin Multiplatform Desktop/Android/iOS Energy Tracker app
Other
78 stars 7 forks source link

Usage Screen: show error message instead of infinite loading in edge case #245

Closed ryanw-mobile closed 6 days ago

ryanw-mobile commented 1 week ago

API cannot return the meter readings for the day the account opened. Official app shows error message, but our app keeps loading infinitely.

This has to be investigated .

ryanw-mobile commented 6 days ago

Both the official app and us incorrectly assumed that the move-in date represents the first day the tariff becomes effective and we have started collecting usage for billing - which is not true.

In my case my first active tariff starts a week after that, which means the gap between it returns no active tariff AND no meter readings.