Modify Utility Meter Linked Device

I have existing long term statistics using Utility Meter for a particular device Fridge/Freezer which is provided by the Tuya integration. I have switched to using Local Tuya so I would like to move over the Utility Meter statistics. The Utility Meter sensors pull data from an Integral sensor.

Moving over the Integral Sensor was straight forward as you just tell it which entity to collect data from. It has automatically moved itself to the new device under Local Tuya.

I had hoped that by updating the ‘master’ Integral sensor that the Utility Meter sensors would follow suit and move over to the new device. This is not the case though.

A template sensor would work by referencing the Utility Meter sensors and displaying the same value in the new device, however I would like to disable the old device eventually.

Does anyone know of a way to update which device Utility Meter sensors ‘belong’ to?

It is easily possible if you created the utility meter in YAML. You just edit the source option to be the new entity id.

This is not possible if you created the utility meter from the frontend as a “helper”. Well it may be if you edit the .storage registry, but that has the potential to prevent your entire system from starting.