After upgrade the values for Grid consumption show cumulative values instead of calculating the difference
(Solar values are still good but we can’t see them because of scale) :
Would it be possible to swap the bars priority?
I would prefer if the new battery statistics (light blue / pink bars) would be drawn prior to the grid in/out statistics (dark blue / purple bars).
It should always show first what is happening on your premises prior to drawing the bars that go in and out of your house.
Edit: I.e. swap the light blue and dark blue, and swap the pink and purple bars.
Hey, I am so new at this but I thought I would give you some things to try. Will not hurt
People keep saying class should be power, not energy
and remove/remark out last updated’s
In this case energy is correct as it is the total amount of power cosumed over a time period hence the kWh (kilowatt HOUR). If the measurement was in watts or kilowatts then power would be correct. Hamish is correct that the state_class needs changing since 2021.9
@PapaLanc : in this case I believe it’s really energy (kWh) because it’s the energy consumed since the meter was installed (near 1 year) from my (Linky) energy meter.
@hmoffatt : I will try it. It must be forced in the configuration file otherwise the only option available is measurement for class state_class…
I forced it and will wait few hours for Energy Dashboard update the values.
You will need somewhere to store the current cost. I use an input_number.
You will then need an automation to change that cost at the appropriate times
@OzGav You are my hero of the day! This was indeed the reason. My recorder is limited to the entities I want, and the CO2 signal integration sensors where no part of them.
Everything works as it should for me, except the cost sensors (automatically created by HA) which reset every now and then instead of always increasing:
Looks like (but I’m not sure) the _cost sensors reset when HA is restarted. The corresponding energy sensors behave as they should (always increasing).