Adding more condition code to #813

This commit is contained in:
ccostan 2020-09-26 13:26:32 -04:00
parent b82b182776
commit 5b08122cd9
1 changed files with 2 additions and 0 deletions

View File

@ -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 -%}