-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add weekly & yearly summaries #265
Add weekly & yearly summaries #265
Conversation
No statistics. Possible but needs changing. Will cause exceptions. No trips. Possible but needs changing. Will cause exceptions. No "setting" of data. Is possible need to work out endpoints. No HVAC. Is possible need to work out endpoint. Tests will fail. Doesn't deal with regresh token. Depracated endpoints still there but fail. May other things are still missing.
Trips, Statistics & HVAC still missing. All "getter" functions are synchronous. All "setter" functions are asynchronous. HOWEVER none of them work, something is missing. Re-worked they way endpoints are retrieved and added capability checking.
Can retrieve all notifications. Seems no way to limit how little/many are returned. Added flag for only unread notifications.
…and another copy of fuel levels, odometer and range. Thanks @CM000n for testing) Updated logging function so (hopefully) identifiable information is censored. TODO debug logging functions. Addressed some review comments.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #265 +/- ##
==========================================
- Coverage 75.33% 72.46% -2.87%
==========================================
Files 27 28 +1
Lines 1277 1351 +74
==========================================
+ Hits 962 979 +17
- Misses 315 372 +57
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I also think that this could be extremely helpful. 👍🏻 Especially in view of the statistics sensors for the Home Assistant integration. |
LGTM now 🎉 |
Removing the comment has removed the merge approval. If you want to approve and then merge. Thanks. |
Implements the two missing parts of summaries.
Finally, anyone think we need a helper function, where you can ask for THIS_WEEK, LAST_WEEK, THIS_MONTH, LAST_MONTH, THIS_YEAR, LAST_YEAR or is it just me that uses this functionality?