thats good news that you were able to get it to work. I have seen the same behaviour for Gas too.
How do I clear the existing data so I can retry the bulk import? Also @dd77 if you add a release with a semver tag your extention can be installed with HACS, makes things a lot easier!
I had lots of issues with getting older data into the database during development of the integration, that’s why i recommended that its done straight after you setup the integration. For my production system i used GitHub - klausj1/homeassistant-statistics: This HA integration allows to import long term statistics from a file like csv or tsv to import 2 years of data.
I have now updated my GitHub page so the integration can be installed via HACS.
Not sure why but I am really struggling with this. I have it setup with Consumption Daily as my Grid consumption. I then go to Developers tools and actions and run
action: genesisenergy.force_update
data:
fuel_type: electricity
And get an error :Failed to perform the action genesisenergy.force_update. Unknown error"
If I run
action: genesisenergy.force_update
data:
fuel_type: both
I get a green tick but no data shows up in the graph or the statistics…Any help?
can you provide me some logs? follow my instructions on Debugging from my repo page if you’re not sure how to enable it.
Just to let you know, I have seen this and I will post some logs. But away for Labour weekend with the family.
Thanks for the quick reply though!
Hey
Just wanted to let you know that I have been looking for something like this for ages, have just moved into a new house and finally had time to set this up.
Its working fantasticly. Thanks for the hard work on this one.
I am well-pleased with this - easy to install and configure - thank you!
Any chance of adding Solar Generation stats?