Update automation-trigger.markdown

'from' and 'to' don't work with use_trigger_values in condition
This commit is contained in:
Pascal Vizeli 2016-07-05 11:47:05 +02:00 committed by GitHub
parent 3a106b9cdd
commit 88341d7ce7

View File

@ -60,7 +60,9 @@ automation:
trigger:
platform: state
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'
to: 'home'
# If given, will trigger when state has been the to state for X time.