Help to delete ghost utility meter

Hello,

I’ve configued 3 utility meters based on a Integration sensor. It appears on the Energy dashboard but I’ve noticed that the name of the ID is wrong, so I’ve changed the entity id name on yaml and rebooted.
Now I’ve 3 ghost utility meters with the wrong name, 3 with the correct name, and energy dashboard only shows the 3 ones with the wrong name.
I can’t delete it from the frontend, and every time I delete the entities on core.restore_state (the only file where it appears) entities spawn again.
I’ve the SQL browser but i’m not good on SQL and I don’t find the entities on the BD

Regards