After restarting HA, the "energy_cost" sensors are reset to 0

English please: How to help us help you - or How to ask a good question

If you change your first post & title to English, you probably will get more help.