mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-09 00:55:34 +00:00
Adding more condition code to #813
This commit is contained in:
parent
b82b182776
commit
5b08122cd9
@ -55,6 +55,8 @@ automation:
|
|||||||
value_template: >-
|
value_template: >-
|
||||||
{%- if trigger.json.action == "created" or "closed" or "opened" or "reopened" %}
|
{%- if trigger.json.action == "created" or "closed" or "opened" or "reopened" %}
|
||||||
True
|
True
|
||||||
|
{%- elif trigger.json.action != "edited" or "labeled" or "unlabeled" or "pinned" or "unpinned" %}
|
||||||
|
False
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
False
|
False
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user