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

pull/891/head
ccostan 5 years ago
parent 7329edcafa
commit c2145a6e25

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

Loading…
Cancel
Save

Powered by TurnKey Linux.