hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
108 stars 13 forks source link

Simulated grid counters #15

Closed JohanEikelenboom closed 2 years ago

JohanEikelenboom commented 2 years ago

FIrst of all, a great HA component, verry usefull to see if a home battery is worth buying.

I tried to add the new simulated grid counters to my energy dashboard and got the following error: The following entities have state class 'measurement' but 'last_reset' is missing:

Can you update the sensors so they have the "last_reset" property?

I'm running the latest version of Home Assistant (2022.2.3)

JohanEikelenboom commented 2 years ago

Another thing I noticed with the simulated sensors: They reset to the current import / export sensor values when Home Assistant reloads. This kind of messess up the energy tab.

hif2k1 commented 2 years ago

These issues should be resolved in the latest update.