What's the right way to move to a new iPhone?

I have a new iPhone, and I’m in the process of manually setting it up. (Because reasons.)

What’s the right way to install and configure the iOS app (and Home Assistant if needed), such that Home Assistant “swaps in” the new phone, and stops paying attention to the old phone?

Note: I’ve renamed my old phone to a different device name in iOS > Settings > General > About > Name. (Think “My iPhone (old)”, or whatever.)

And I’ve named the new iPhone with the old (One True) name. (All of my phones get the same name, when it’s their time in the sun. Old phones get renamed.)

Did you ever come up with a good solution for this?

I did not. I ended up having to re-name or re-add the new device / entities multiple times. I’m still not sure I’ve got them all correct, across all the different device trackers.

I can envision a “Retire and Replace this Device” command, or something like that, to take care of the drudgery. But I fully admit my situation is an edge case, and I’m not personally going to bother submitting an actual feature request.

When I upgraded my iPhone, I deleted the existing integrations, performed the beta clean as a precaution, then installed the new phone integration (with the same name as the old one).

That sounds like what I should have done, for sure. I logged into the app / HA on the new phone before deleting the old one, and that was where I (probably) went wrong…

Sorry to resurrect a 2 year old conversation, but since this comes up when you search Google for “new iphone home assistant” I wanted to share that I was able to successfully migrate from my old phone to my new one just by going into Integrations → Mobile App and then deleting my old iPhone out of the list. Since I named my new iPhone the same as my old one, when I went to log in to the HA app on my new phone, it re-registered as the same name, so I did not have to redo anything to get automations to work with the new phone.

I mention this because I did not need to complete the full beta clean referenced by Tom. I am running HA 2024.8.3 if that’s at all relevant.

Any suggestion how to get pass the setup (binding) in IOS app to connect with HA? My Wife’s iPhone was a replacement phone for an older phone. icloud intergration already shows the phone already in HA and the older iphone 12 is there also. How do I delete and preserve the name within HA and connect APP with HA? The complaint when trying to connect via HA compaion IOS app, the name already exists. Hence i’m at a roadblock and not sure which to delete.

Did you read the post directly above yours?

I ended up in a bit of a pickle after moving all my data over to my new iPhone. Ended up with 2 x “James iPhone 15” because it carried the device name over and everything!
I ended up removing both devices from the Mobile App integration, the renamed my new phone something more generic like “James iPhone Pro” so that next time I can allow it to take over and move the old phone to something like “James iPhone Old” and hopefully shuffle them over a bit more smoothly in future, we’ll find out if that works next year.