Hi All,
I’m new to HA and tryikng to learn programming the automations. One thing I run into is setting up Prowl. I managed to setup the service and an automation, its working. Now I want to add the priority. How do I do that. This is what I got sofar:
data_template:
message: '{{ value1 }} {{ value2 }} {{ value3 }}'
title: 'Notifier'
Thanks,
Ralph
metbril
(Robert 🇳🇱🇪🇺)
March 16, 2018, 4:50pm
2
It’s in the docs
data_template:
message: '{{ value1 }} {{ value2 }} {{ value3 }}'
title: 'Notifier'
priority: 2
https://www.prowlapp.com/api.php
@metbril . Thanks for the reply, but that is what I tried first and does not seem to work. The message is not sent to prowl and an error generated.
metbril
(Robert 🇳🇱🇪🇺)
March 16, 2018, 5:57pm
4
metbril
(Robert 🇳🇱🇪🇺)
March 16, 2018, 6:00pm
5
Try this:
data_template:
message: '{{ value1 }} {{ value2 }} {{ value3 }}'
title: 'Notifier'
data:
priority: 2
1 Like
Hi @metbril ,
That worked out pretty well .
So the end result is:
data_template:
message: '{{ value1 }} {{ value2 }} {{ value3 }}'
title: 'Notifier'
data:
priority: '{{ prio }}'
I’sending the priority from the automation.
Thx for the help!
Ralph
1 Like
metbril
(Robert 🇳🇱🇪🇺)
March 17, 2018, 4:16pm
7
You welcome. It’s good for my karma if you ‘like’ the solution and checkmark it as the solution.