Replace mobile phone entity

I had a mobile phone setup with a bunch of utility metres and other things

image

Now due to a reset or some other issue I log into home assistant again and it is now created as a new Device

The old device still exists and I don’t want to try to create all the things for the new device and work out which sensors to enable. How would I replace old mobile with new and have the rest stick and work.

also with a galaxy watch it does this every couple of months. W/o any resets at all.

Same thing I want to rename the new one to the old one and keep everything else working but they all have unique ids and I don’t know which files they are in or what to change