I am attempting to setup an automation that is triggered from a webhook. The webhook is from noonlight and it provides a json response.
I am attempting to set conditions so i know what is happening at noonlight. They send an “event_type” which can be “alarm.status.canceled”, “alarm.closed” or “alarm.psap_contacted”. I want the automation to know when the trigger was because of a canceled or closed alarm.
At this time i have tried many different forms of the syntax in the condition section in both the UI and in the YAML editor, but nothing seems to ever result in a matched “TRUE” result.
this is my current YAML:
condition: template
value_template: '{{ trigger.json.event_type == "alarm.status.canceled" }}'
here is the place i am currently troubleshooting and seeing that it does not match.