I have a few solar panels on my roof and using the great hoymiles integration, I can read my current electricity production, produced energy etc. and other information about the inverter into Home Assistant.
The integration gives the produced energy as “daily sums” (in Wh) which resets to zero during the night. No problem, the sensor has the correct class (total_increasing), so the energy dashboard can calculate the correct values.
What I am struggling with: I want to use the total produced energy since installation in a grafana dashboard alongside my other utility meters (water and gas, which both give the total since installation, not daily values), and I also like to use the total produced energy since installation in other template sensors for calculating savings etc.
How do I turn this daily values (total_increasing) into a new sensor (?) that gives totals since installation?
Similarly to the energy dashboard, I would like to achieve that even if the daily sensor gives no value (e.g. during the night), my new totals sensor shows the current total.
Additionally, I want to have the total value updated on the fly, not every evening or something like that.
I tried using a utility meter and a template sensor, but failed miserably in both instances. I think this can’t be very complex, but somehow I am not able to find what I need to do.