mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Update automation-trigger.markdown
This commit is contained in:
parent
34d2798f0d
commit
0b0ee17ca3
@ -62,10 +62,12 @@ automation:
|
||||
platform: state
|
||||
entity_id: device_tracker.paulus, device_tracker.anne_therese
|
||||
# Optional
|
||||
state: 'xy'
|
||||
# or (don't use that with condition: use_trigger_values)
|
||||
from: 'not_home'
|
||||
to: 'home'
|
||||
|
||||
# Alias for 'to'
|
||||
state: 'home'
|
||||
|
||||
# If given, will trigger when state has been the to state for X time.
|
||||
for:
|
||||
hours: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user