Skip to content

Commit de15708

Browse files
pnbrucknerfrenck
authored andcommitted
Add missing trigger.for variable to template trigger (home-assistant#9752)
1 parent 3d0fe07 commit de15708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/_docs/automation/templating.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ The following tables show the available trigger data per platform.
145145
| `trigger.entity_id` | Entity ID that caused change.
146146
| `trigger.from_state` | Previous [state object] of entity that caused change.
147147
| `trigger.to_state` | New [state object] of entity that caused template to change.
148+
| `trigger.for` | Timedelta object how long state has been to state, if any.
148149

149150
### time
150151

0 commit comments

Comments
 (0)