mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Sorted yaml for automation (#10686)
This commit is contained in:
parent
c6dc5533f1
commit
07e1b6e2d5
@ -36,14 +36,15 @@ automation:
|
|||||||
- id: this_is_the_automation_id
|
- id: this_is_the_automation_id
|
||||||
alias: The optional automation alias
|
alias: The optional automation alias
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
- event_data:
|
||||||
event_type: ifttt_webhook_received
|
|
||||||
event_data:
|
|
||||||
action: call_service
|
action: call_service
|
||||||
|
event_type: ifttt_webhook_received
|
||||||
|
platform: event
|
||||||
|
condition: []
|
||||||
action:
|
action:
|
||||||
service_template: '{% raw %}{{ trigger.event.data.service }}{% endraw %}'
|
- data_template:
|
||||||
data_template:
|
|
||||||
entity_id: '{% raw %}{{ trigger.event.data.entity_id }}{% endraw %}'
|
entity_id: '{% raw %}{{ trigger.event.data.entity_id }}{% endraw %}'
|
||||||
|
service_template: '{% raw %}{{ trigger.event.data.service }}{% endraw %}'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Sending events to IFTTT
|
## Sending events to IFTTT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user