entityId URL in notifications doesn't work
iOS device model, version and app version Model Name: iPhone 12 Pro Software Version: iOS 16.1.1 App version: 2022.10.1 (2022.424)
Home Assistant Core Version 2022.11.5
Describe the bug Sending a notification with entityId style URL opens the app to the default page instead of the More Info page of the specified entity.
To Reproduce
service: notify.mobile_app_pro_llama
data:
message: test message
data:
url: entityId:sun.sun
Additional context This is the first time I've ever tried to use this style of notification, so perhaps I'm doing something wrong. I got the syntax from documentation: https://companion.home-assistant.io/docs/notifications/notifications-basic#opening-a-url
The log file shows this:
2022-12-04 22:22:16.351 [Info] [main] [NotificationManager.swift:250] userNotificationCenter(_:didReceive:withCompletionHandler:) > launching URL entityId:sun.sun
That's an entity, not a URL, so that won't work. To accomplish what you are trying to do, you would need to create a separate, dedicated view with that entity and link to that.
Linking to a lovelace view works fine. But according to the documentation I linked above, it should be able to link directly to the More Info view of an entity using that syntax.
The More Info panel of an entity using
entityId:<entity_ID>where<entity_id>is replaced with the entity ID you wish to view. Ex:entityId:sun.sun.
The feature you are referencing is an Android feature. That's what the robot icon means.
Oh! Ok thank you, I didn't realize that's what the icons meant. I guess this issue can be turned into a feature request then?
I would agree. This is a feature request to either make the docs more clear, or make it a feature in iOS. I just asked the same question (stupidly) on the forum.