Update ifttt.markdown (#10414)

The "automation old:" stuff seems to be very out of date.
This commit is contained in:
1DontEx1st 2019-10-02 17:30:31 -04:00 committed by Franck Nijhof
parent 7c71f70f03
commit a32680576c

View File

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