Seamless transition to a new phone?

I’m about to transition to a new phone. I have a few automations set up with the entities from my existing phones. What’s the easiest way to transition?

That depends. Have you been using device automations with the mobile phone integration?

If so, there is no easy way.

If you have not been using device automations it is a lot easier.

Delete the app from the old phone. Delete the mobile integration from Home Assistant. Check that all mobile entities have been deleted (see: Beta testing: cleaning between builds | Home Assistant Companion Docs).

Name your new phone identically to the old one (on the phone).

Then when you install the Home Assistant companion app on your new phone the exact same entities should be added back to Home Assistant.

2 Likes

Thanks. I have not been using device automations (was always concerned about this exact scenario.)
Will try your suggestion.

Actually there is one concern - back when I installed the app on my phone, the apostrophe used to be translated to an underscore (dude_s_iphone), whereas today it’s ignored (dudes_iphone).

Change the phone name to dude_s_iphone instead?

What I ended up doing:

  1. Switched the old phone to airplane mode
  2. Deleted the integration
  3. Started HA on the new phone, and it just worked (didn’t even need to change the name)
  4. Uninstalled HA from the old phone, just in case.
1 Like