Android Companion App - Launch dashboard from another app (ntfy action button)

I have my notification system setup but I am missing this last bit. I have an action button in a ntfy notification on my android to launch a hass dashboard using its https:// public facing address. This launches chrome browser and asks me to login to the frontend. I would prefer if I can just have the button open the companion app and display the requested dashboard.

I searched docs and forum but all the stuff I find is about launching another app from companion app, not launching companion app itself with a specific dashboard.

TIA

for notifications sent to hte companion app you just use a relative URL to load the dashboard

It’s for ntfy, a separate push notification set up than Hass companion app. I do have this working in Hass companion app using relative dashboard paths like: /dashboard-cameras/doorbell but, ntfy needs to open the Hass companion app and navigate to the correct dashboard.

This is what I have so far (doesnt work). I am uncertain if there is an intent to open the companion app and navigate to the desired dashboard:

action: notify.ntfy_cameras
data:
  title: Alley AI Alert!
  message: "{{generated_content['text']}}"
  data:
    tags:
      - warning
      - video_camera
    attach: https://ha.example.com/local/snapshots/alley_{{trig_ts}}_snapshot2.jpg
    filename: alley_ai.jpg
    click: https://ha.example.com/local/snapshots/alley_{{trig_ts}}_snapshot2.jpg
    actions:
      - action: view
        label: View Event
        url: >-
          https://zm.example.com/zm/cgi-bin/nph-zms?mode=jpeg&scale=50&buffer=1000&replay=single&monitor=2&event={{eid}}&user=<user>&pass=<pass>
      - action: broadcast
        label: View Camera
        intent: io.homeassistant.companion.android.open_dashboard
        extras: {
          target: dashboard-cameras/doorbell
        }

Found it:

- action: view
  label: View Camera
  url: homeassistant://navigate/dashboard-cameras/doorbell
1 Like