Hi all
I keep getting and error message in the File Editor (automations.yaml)
missed comma between flow collection entries at line 36, column 8:
{% if is_state("trigger.json.valu …
^
- alias: Receive Message
trigger:
- platform: webhook
webhook_id: alarm_status
action:
{% if is_state("trigger.json.value_id", "on") %}
service: input_boolean.turn_on
entity_id: input_boolean.alarm_status
{% elif is_state("trigger.json.value_id", "off") %}
service: input_boolean.turn_off
entity_id: input_boolean.alarm_status
{% endif %}
Any help would be appreciated. Thanks
6 posts - 3 participants