Enegergy management - change sensor source and keep data

hello,
i would like to change mine sensor for the solarpanels. for now i use the solaredge cloud sensor, but i would like to change it to the soladedge modbus intigration. (more updated)
is there a way to keep mine data history?
i use mariadb on a different server (i have acces with phpMyAdmin)

The new entity ids must exactly match the old ones.

how can i change the entity id?

Looking at this

It appears to be set up via the UI. So you can change the entity_id’s in the integration’s GUI.

Like this (example shows a different integration):

thanks!
easy and quick :slight_smile: