Node red template begginer

Hello, I just started using node red yesterday as alot of users have suggested node red to me i wanted to give it a try. The issue i’m having is trying to take this “Title” and add it to node red. I have red I need to use a template but I don’t know which template or how to use it? If any one could help would be greatly appreciated?

service: notify.mobile_app_brightlord1987
data:
  message: Don't Forget to scan your done!!!
  title: >-
    {{ states('sensor.next_garbage_event') }} reminder for tomorrow!!! Take It
    out. 
  1. What are you trying to do?
  2. You posted YAML code- it has nothing to do with Node Red.

I want to take that yaml “title” part and put in node red to message my phone. I wanted to know how to take the yaml template title and use in node red? that is what im trying to do.

service: notify.mobile_app_brightlord1987
data:
  message: Don't Forget to scan your done!!!
  title: >-
    {{ states('sensor.next_garbage_event') }} reminder for tomorrow!!! Take It
    out. 

I would start here to learn about node-red in Home Assistant:

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/

And there is a great example of using Actionable Notifications here:

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/cookbook/actionable-notifications-subflow-for-android.html

1 Like