Issue with Energy Database

This morning I found a totally wrong value for Gas consumption (it’s evident there was some db issue) so I modified (with developer tools → statistics) the wrong value (it was at 00:00 of today 08 oct 2023) from 629 to 0… but then I had other 2 issues:

  1. instead of showing 0 it shows a very strange value - see image below
  2. the cost of the Gas instead to be 0 it is -639,60€

How to fix those issues?

Today other 2 weird values…
Where can I fix those wrong cost in the Energy DB?

image

It seems it’s a bug
Issue with Energy database (values and calculated costs) after the latest update (2023.10) · Issue #101750 · home-assistant/core (github.com)