Broke energy dashboard by renaming my sensors

Hi,

when I have set up my energy dashboard 18months ago, I did not much pay attention to my naming conventions of sensors. Today, I had the “good idea” to clean up my sensors.

I did rename my energy utility meter sensors and the tariff sensor. Now, the link between tariff and Utility Meter seems to be broken. The tariff is still changing as it did before, but the Utility Meters does not provide any data to the dashboard. How do I correct this?

These are the new names of the sensors:

And there is a time based automation for changing the tariff.

EDIT:
I stumbled over this post [Solved] Energy cost not calculated - #30 by petro and then found this:

1 and 2 are the old names and 3 and 4 are the respective new names.

uff, after renaming the hidden cost-sensors as well, its all working again.

thanks to @petro !