Changing Entity in Energy Dashboard

Hey Guys,

I am about to replace all my TP-Link Kasa HS110 plugs by Aqara Zigbee Plugs. So far, it’s a lot of manual work but with minor impact.
However, I also would like to replace the plug I use for my solar panel for measuring solar power production.
So far, this works fine in the Energy Dashboard, but I am wondering what happens if I add the new plug entity to the energy dashboard and remove the old entity.
Will the power measurement be preserved or will it delete all old data?

giving the new plug the entity name of the old one is not an options, since I changed the entire naming scheme for these plug?

Does anyone know or already did this?