Any chance to copy historical energy data to new helper?

As in title. I have at the beginning with HA setup energy card with my inverter entity. Now if i decide to change inverter my data will be lost. I have create media meter Helper with my current inverter but its start collecting data from scratch. Any chance i can copy all history from my inverter entity to newly created helper?

I believe you can use this to migrate the history from one device to another: Migrate energy statistics from one entity to another