I think it's fixed with this technique. #886

This commit is contained in:
ccostan 2020-09-26 16:07:51 -04:00
parent 7329edcafa
commit c2145a6e25
2 changed files with 5 additions and 5 deletions

View File

@ -61,13 +61,13 @@ automation:
webhook_id: !secret github_webhook webhook_id: !secret github_webhook
condition: condition:
- condition: numeric_state # - condition: numeric_state
entity_id: automation.closed_github_issue # entity_id: automation.closed_github_issue
attribute: last_triggered # attribute: last_triggered
above: 120 # above: 120
- condition: template - condition: template
value_template: '{{- trigger.json.action in ["created", "closed", "opened", "reopened"] }}' value_template: '{{ trigger.json.action in ["created", "closed", "opened", "reopened"] }}'
action: action:
- service: script.tweet_engine_image - service: script.tweet_engine_image

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 38 KiB