mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-07-21 11:17:02 +00:00
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…
x
Reference in New Issue
Block a user