Copy data from one sensor to another

I have recently migrated from givenergy_local to givTCP to monitor my solar panel generation. As a result all I can see in my energy dashboard is only last 3 days of data that was produced by givTCP.
Using SQLite Web I can see that the old sensor data (sensor.pv_energy_total) is still there along with all the historic data. The new sensor provided by the givTCP addon is called: sensor.ge_sd12312312_pv_energy_total_kwh
How do I make home assistant to see my old data? Can I merge the old data into the givTCP sensor?

Rename the new entity_id to match the old one.