I am sending the following push notification from a node red workflow.
{
"message": "test",
"title": "test title",
"data": {
"url": "/seccams/cameras",
"entity_id": "camera.driveway",
"push": {
"interruption-level": "critical"
}
}
}
Everything is working except the “data.url” field. Sometimes it will open that view in the companion app but most of the time it does not switch to that dashboard/view. I created a new dashboard, defined the “url field” as “seccams” and then created a view and set the “url field” for the view to “cameras”.
When I access this in a browser, it works going to https://ha.mydomain.com/seccams/cameras.
When I navigate manually in the companion app it works and once in a while it will work when I tap the push notification.
Is there something else I should be passing or sending a different structure to get this to work more reliably when tapping the push notification to switch me over to the correct dashboard/view?