mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-04 17:26:50 +00:00
Update ifttt.markdown (#10414)
The "automation old:" stuff seems to be very out of date.
This commit is contained in:
parent
7c71f70f03
commit
a32680576c
@ -29,10 +29,12 @@ For example, set the body of the IFTTT webhook to:
|
||||
{ "action": "call_service", "service": "light.turn_on", "entity_id": "light.living_room" }
|
||||
```
|
||||
|
||||
You then need to consume that incoming information with the following automation. It need to be added to the `configuration.yaml` file and not `automation.yaml` file. You may want to rename `automation:` to `automation old:` if you are also using the `automation.yaml` file and the online editor:
|
||||
You then need to consume that incoming information with the following automation:
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
- id: this_is_the_automation_id
|
||||
alias: The optional automation alias
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ifttt_webhook_received
|
||||
|
Loading…
x
Reference in New Issue
Block a user