Running HA 118.5. I acquired an iPhone which, after installing the HA iOS app, shows up in HA with a name I didn’t want to use. Thinking the easiest way to correct this was to remove the “Mobile App” Integration from HA, rename the phone then reinstall the Mobile Integration. I did just that.
Much to my surprise, when I went to add the integration back into to HA, the “Mobile App” integration presented a message reading “Open the mobile app to set up the integration with Home Assistant. See the docs for a list of compatible apps.”
Instructions there indicate addition of a number entries into the configuration.yaml file. Per the instruction I’ve added;
mobile_app:
discovery:
cloud:
ios:
Upon restart, the Mobile App reappeared in HA. So far so good but now there’s also a “Home Assistant iOS” integration. I’m assuming this was added by changes made in the configuration.yaml. A couple of questions; 1) Why didn’t the iOS integration show previously and 2) have I misconfigured HA?
Just go to configuration > integrations > mobile app, find your phone and click ‘rename’. It would rename the entire entity and all of the sensors. That would be the easiest way to do it
ios: is used if you want advanced notifications like actionable notifications and categories
It’s needed for ios apparently. I’m not 100% sure on that as I don’t use ios. Maybe you have to log in with your ios account to get that kind of access.
So, sorry I can’t help you with the actual config. It might be right…and someone with an ios device can chime in and say it’s normal. I was just pointing out an easier way to rename the entity
I no longer have any of those 4 entries in my configuration.yaml file. At one time I did have discovery: and ios:, but right now I only have the Mobil App integration installed and everything works. I think a lot of new users (myself included) search on how to do something, and the instructions often refer to older methods that included manually adding .yaml entries. Once a new Add-on or integration becomes available it can either make those .yaml entries obsolete, or in some cases they can conflict with the new method, such as making entities read-only because they have been manually defined. I find myself frequently commenting out entries in the .yaml files (and restart) to see if they are really needed any longer.
I’m starting to realize that. I ran into a similar issue a few months ago when first setting out on the HA home automation trail. Everything is working the way I want it so I think I’ll just leave the config file as it is for now.