Templates in Notify HTML5 URL Field

  - service: notify.html5
    data:
      message: "Front Door"
      title: "Motion Detected"
      data:
        tag: 'front-door-motion'
        url: "https://hass.instance:8123/api/camera_proxy_stream/camera.front_ptz?token="{{states.camera.front_ptz.attributes["access_token"]}}

As of right now, it takes it literally instead of as a template. My ultimate goal is to open my camera feed on my phone when the motion alarm is triggered.

This should already be possible as follows:

- service: notify.html5
  data_template:
    message: "Front Door"
    title: "Motion Detected"
    data:
      tag: 'front-door-motion'
      url: "https://hass.instance:8123/api/camera_proxy_stream/camera.front_ptz?token={{ states.camera.front_ptz.attributes['access_token'] }}"

So all I did was replace the first data: with data_template:, and I fixed some quotes.

Perfect! Appreciate the help.