Update trigger.markdown

This commit is contained in:
Paulus Schoutsen 2018-12-10 16:23:50 +01:00 committed by GitHub
parent 5bc65099b9
commit f11e64fc02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,9 +201,11 @@ Webhook triggers are triggered by web requests made to the webhook endpoint: `/a
automation: automation:
trigger: trigger:
platform: webhook platform: webhook
webhook_id: webhook_id: some_hook_id
``` ```
You could test triggering above automation by sending a POST HTTP request to `http://your-home-assistant:8123/api/webhook/some_hook_id`.
### {% linkable_title Zone trigger %} ### {% linkable_title Zone trigger %}
Zone triggers can trigger when an entity is entering or leaving the zone. For zone automation to work, you need to have setup a device tracker platform that supports reporting GPS coordinates. This includes [GPS Logger](/components/device_tracker.gpslogger/), the [OwnTracks platform](/components/device_tracker.owntracks/) and the [iCloud platform](/components/device_tracker.icloud/). Zone triggers can trigger when an entity is entering or leaving the zone. For zone automation to work, you need to have setup a device tracker platform that supports reporting GPS coordinates. This includes [GPS Logger](/components/device_tracker.gpslogger/), the [OwnTracks platform](/components/device_tracker.owntracks/) and the [iCloud platform](/components/device_tracker.icloud/).