Hi, i added consumption and solar generation to my home assistant.
Works great. The system added than sensor.smartmeter_consumption_cost what is great, but after every restart its resetting and starts from 0.0 as i can see in developer tools.
Is there a way to save the consumption cost, so after restart it starts where it was before?
But what i see is in the graph there is data, but the number starts at 0 after restart? The history is there?
I’m having the same problems, first I thought that the availability template of my sensors was wrong but I’ve verified that it is not the case.
The first thing that comes up to me is that at boot the state machine is not updated with the last value from the recorder but rather set 0. I’ll see if I can find this in the code.