URL template in push notification

I have a problem with sending URL through push notification using template. I have that automation:

- alias: 'Notification U pdate Available'
  trigger:
    platform: state
    entity_id: updater.updater
  action:
    service: notify.html5
    data_template:
      title: 'Nowa wersja Home Assistante'
      message: "Dostępna jest aktualizacja do wersji {{ states.updater.updater.state }} dla Home Assistant."
    data:
      data:
        url: "{{ states.updater.updater.attributes.release_notes }}"

and the URL it isn’t working. I try:

    data:
      data_template:
        url: "{{ states.updater.updater.attributes.release_notes }}"

but this generate error:

17-04-18 14:52:31 ERROR (MainThread) [homeassistant.core] Invalid service data for notify.html5: extra keys not allowed @ data['data_template']. Got OrderedDict([('url', '{{ states.updater.updater.attributes.release_notes }}')])
Any solution for that?

Try this:

data:
  data_template:
    message: >
      New HA Release! Release notes here: {{ states.updater.updater.attributes.release_notes }}.

OK this works but how to send template to tag url?

Take a look at this thread: