alarmo icon indicating copy to clipboard operation
alarmo copied to clipboard

Migrate legacy notification to new format

Open xhemp opened this issue 7 months ago • 9 comments

Checklist

  • [X] I am using the latest version of Alarmo (latest version can be found here)
  • [X] I checked for similar existing requests (both open and closed) before posting.

Alarmo Version

v1.10.4

HA Version

2024.7.1

Bug description

0758f9bf553523e177c625406c4c826028b2a760

(Ignore the notify.energy above, just got an example of the message which shows on HA).

I use the notification to write which sensor has been tripped and then it calls my phone using an Asterisk server. I tried to write the notification on yaml but it doesn’t allow me to save it on Alarmo. Am I mixing things up or is this genuine?

This is what I have on the notify bit inside Alarmo:

service: notify.me_asterisk
data:
  message: "House alarm has been triggered! Cause: {{open_sensors|format=short}}."
  title: ""

And this is what I tried which errors out:

service: notify.send_message
target:
  entity_id: notify.me_asterisk
data:
  message: "House alarm has been triggered! Cause: {{open_sensors|format=short}}."
  title: ""

Steps to reproduce

Just try to send a notification on Actions - Notification on Alarmo

Relevant log output

No response

xhemp avatar Jul 06 '24 13:07 xhemp