mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Added duration to state trigger example (#23958)
This commit is contained in:
parent
4e684a1528
commit
b6dc397435
@ -346,6 +346,11 @@ automation:
|
|||||||
from: "not_home"
|
from: "not_home"
|
||||||
# Optional
|
# Optional
|
||||||
to: "home"
|
to: "home"
|
||||||
|
# If given, will trigger when the condition has been true for X time; you can also use days and milliseconds.
|
||||||
|
for:
|
||||||
|
hours: 0
|
||||||
|
minutes: 1
|
||||||
|
seconds: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
It's possible to give a list of `from` states or `to` states:
|
It's possible to give a list of `from` states or `to` states:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user