Energy Dashboard: Changing Solar Production entity deletes old data

I’m trying to change my SolarEdge monitoring from Local to Cloud. Then I need to change my energy production source from one entity (local) to the new one (cloud).
But If I just replace the old one by the new one in the Energy dashboard configuration, all my previous data vanishes. Looks like the energy dashboard doesnt store the data from the entity, it just queries it when needed. To workaround this I have to add the new entity (cloud) and keep the old one. So I cannot even remove my SolarEdge local integration.
Is there a better way to solve this ? I basically want to replace the old local entity by the new cloud based one.