This commit is contained in:
Fabian Affolter 2019-10-10 16:24:03 +02:00 committed by Franck Nijhof
parent e85a777a73
commit 22aebe52bf

View File

@ -31,6 +31,7 @@ For example, set the body of the IFTTT webhook to:
You then need to consume that incoming information with the following automation: You then need to consume that incoming information with the following automation:
{% raw %}
```yaml ```yaml
automation: automation:
- id: this_is_the_automation_id - id: this_is_the_automation_id
@ -43,9 +44,10 @@ automation:
condition: [] condition: []
action: action:
- data_template: - data_template:
entity_id: '{% raw %}{{ trigger.event.data.entity_id }}{% endraw %}' entity_id: '{{ trigger.event.data.entity_id }}'
service_template: '{% raw %}{{ trigger.event.data.service }}{% endraw %}' service_template: '{{ trigger.event.data.service }}'
``` ```
{% endraw %}
## Sending events to IFTTT ## Sending events to IFTTT