homeassistant-statistics
homeassistant-statistics copied to clipboard
Is there any way to enter data for the 'statistics_short_term` table?
Checklist
- [X] I have filled out the template to the best of my ability.
- [X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
- [X] This issue is not a duplicate feature request of previous feature requests.
Is your feature request related to a problem? Please describe.
I would like to import short term statistics (i.e., once every 5 minutes) as well as the hourly statistics that your integration currently covers.
Describe the solution you'd like
Similar code with ability to upload a file with short term statistics data to be entered into the statistics_short_term
table.
(Ideally, also a REST API so json encoded short term statistics could be added via an API rather than uploading a file)
Describe alternatives you've considered
Manually adding stuff to the SQLite database or purging the recorder.