Good day, thank you for sharing this. I’m using a rest command I found in another post. Please see below:
ntfy_notify:
url: https://ntfy_url/homeassistant
method: POST
headers:
authorization: "Bearer token"
username: "admin"
password: !secret network_password
title: "{{ title }}"
icon: "{{ icon }}"
priority: "{{ priority | default('default') }}"
tags: "{{ tags | join(',') }}"
click: "{{ click }}"
attach: "{{ attach }}"
actions: "{{ actions | join(',') }}"
payload: "{{ message }}"
I was wondering if you could guide me on how to use the actions if using the above rest command.
I’ve tried to use your example:
actions: >-
http,Open,%ha%,body={"action":"{{action_open}}"};
by defining ha as a variable in the automation, but im failing. Any guidance is much appreciated.
Edit: never mind. got it. All i had to do is modify my actions definition in the rest command with yours.
Thank you.