mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Update automation-trigger.markdown
'from' and 'to' don't work with use_trigger_values in condition
This commit is contained in:
parent
3a106b9cdd
commit
88341d7ce7
@ -60,7 +60,9 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
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'
|
||||||
# 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user