I have read online on how to create an automation that will open a specific app on my iphone but cannot seem to get it to work. I already have an automation that runs when I single press my aqara button–it turns on my roku TV and sets it to YouTube but I would also like it to open the Roku app on my iphone. Anyone get this to work and have detailed instructions? The ones I have read say to “create a notification with a URI” but fail to show any details on how…
This feature is only available for android phones.
https://companion.home-assistant.io/docs/notifications/notification-commands#launch-app
The doc is outdated or it is somewhere else (which would be weird…)
you can try this example for spotify. not sure which app you want to open and if that would work though
data:
message: "Play a song please"
title: Open your spotify app
data:
actions:
- action: URI
title: Open Url
uri: spotify://
action: notify.mobile_whatever
Where does this go? In a script?
Yeah…no, I missed the ‘automation’ part…sorry…I sort off only looked at the response above and earlier experience about starting apps on iPhone from a notification…apologies
or you can create a shortcut on your iPhone and launch it directly with card action.
tap_action:
action: url
url_path: shortcuts://run-shortcut?name=Open Unifi