Update automation-trigger.markdown
This commit is contained in:
parent
34d2798f0d
commit
0b0ee17ca3
1 changed files with 4 additions and 2 deletions
|
@ -62,10 +62,12 @@ automation:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: device_tracker.paulus, device_tracker.anne_therese
|
entity_id: device_tracker.paulus, device_tracker.anne_therese
|
||||||
# Optional
|
# Optional
|
||||||
state: 'xy'
|
|
||||||
# or (don't use that with condition: use_trigger_values)
|
|
||||||
from: 'not_home'
|
from: 'not_home'
|
||||||
to: 'home'
|
to: 'home'
|
||||||
|
|
||||||
|
# Alias for 'to'
|
||||||
|
state: 'home'
|
||||||
|
|
||||||
# If given, will trigger when state has been the to state for X time.
|
# If given, will trigger when state has been the to state for X time.
|
||||||
for:
|
for:
|
||||||
hours: 1
|
hours: 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue