Updating example, adding link (#8290)

Updated the example in the multiple triggers section to be valid. Added link from the top of the page.
This commit is contained in:
DubhAd 2019-01-26 09:55:31 +00:00 committed by Fabian Affolter
parent 3ac289888c
commit f68f6db843

View File

@ -10,7 +10,7 @@ footer: true
redirect_from: /getting-started/automation-trigger/
---
Triggers are what starts the processing of an automation rule. It is possible to specify multiple triggers for the same rule - when _any_ of the triggers becomes true then the automation will start. Once a trigger starts, Home Assistant will validate the conditions, if any, and call the action.
Triggers are what starts the processing of an automation rule. It is possible to specify [multiple triggers](/docs/automation/trigger/#multiple-triggers) for the same rule - when _any_ of the triggers becomes true then the automation will start. Once a trigger starts, Home Assistant will validate the conditions, if any, and call the action.
### {% linkable_title Event trigger %}
@ -261,9 +261,8 @@ When your want your automation rule to have multiple triggers, just prefix the f
automation:
trigger:
# first trigger
- platform: time
- platform: time_pattern
minutes: 5
seconds: 00
# our second trigger is the sunset
- platform: sun
event: sunset