Migrate data from an old sensor to a new sensor

I had a dsmr sensor setup with the name: sensor.gas_delivered
Due to a change in configuration of the device, the sensor is now names:

I had to change my energy dashboard, but now all my old data is no longer accessible.

Is there a way to move the historic data in the database to the new sensor name?


1 Like