Replacing Grid Consumption Sensor without Losing Data

I’ve been using the Energy Dashboard for over two years and already have a lot of historical data.

Currently, I’m using the Toon Smartmeter integration (configured via configuration.yaml).

Later this month, my electricity, gas, and water meters will be replaced with digital ones.
As a result, I won’t be able to use the Toon Smartmeter integration anymore and will switch to a Smartgateway P1 meter.

This means I’ll get entirely new entities, and the Toon Smartmeter integration will be removed.

However, this also means I will lose all my historical data from the Toon Smartmeter integration.

It should be possible to retain the data in the Energy Dashboard, even after removing the original entities.

Also lost some historical data due to this missing feature