mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Update automation-trigger.markdown
This commit is contained in:
parent
34d2798f0d
commit
0b0ee17ca3
@ -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…
x
Reference in New Issue
Block a user