Fix Energy Data When Deleting a Meter or New Meter

So I have just been using a single input sensor for all my utility input etc. However I now how 4 meters and need to somehow migrate the original meter data to a new meter for tracking.

Original Meter was “sensor.site_import” (metadata_id = 390)

New Meters as of 9/1/22 but all their input sensors are sensor.site_import from above so I have to remove it from my energy setup.

And I have created a meter called sensor.legacy_meter that I want to basically take all the DB entries from “sensor.site_import” (metadata_id = 390) prior to 9/1/2022 and move the records to sensor.legacy_meter so I can track the history over the past 2 years and have comparison data for the future.