mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00
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:
parent
3ac289888c
commit
f68f6db843
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user