Adding more condition code to #813
This commit is contained in:
parent
b82b182776
commit
5b08122cd9
|
@ -55,6 +55,8 @@ automation:
|
|||
value_template: >-
|
||||
{%- if trigger.json.action == "created" or "closed" or "opened" or "reopened" %}
|
||||
True
|
||||
{%- elif trigger.json.action != "edited" or "labeled" or "unlabeled" or "pinned" or "unpinned" %}
|
||||
False
|
||||
{%- else -%}
|
||||
False
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Reference in New Issue