How to push any Persistent Notifications to HA app?

Thanks! Took me a little bit to figure out the indentation as I’m not that fluent in YAML. For anyone else that wants this. Create a new automation, go into YAML mode, remove everything and paste this in, change the service to your device and save.

alias: Notification Push Persistant Notifications
description: ""
trigger:
  - event_data:
      domain: notify
      service: persistent_notification
    event_type: call_service
    platform: event
condition: []
action:
  - service: notify.mobile_app   # Change this to your device
    data_template:
      message: "{{trigger.event.data.service_data.message}}"
      title: "P: {{trigger.event.data.service_data.title}}"
mode: single

3 Likes