martinarva / dynamic_energy_cost

35 stars 9 forks source link

Add `last_reset` attribute #33

Open wilfredktlr opened 2 weeks ago

wilfredktlr commented 2 weeks ago

I use the Sankey Chart to display the energy cost but because it is missing the last_reset attribute the values are incorrect. When I temporarily added the attribute the values are correct. Can you add the attribute so it works just like a regular utility meter (regarding the attribute)?

Screenshot_20240617-212615

On the left you see energy imported from the grid (blue), the solar production (orange) and exported energy (purple). On the right side you see the different devices which are being monitored. The cost for the imported and exported energy are correct (which Home Assistant supplies itself).