We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d0fe07 commit de15708Copy full SHA for de15708
source/_docs/automation/templating.markdown
@@ -145,6 +145,7 @@ The following tables show the available trigger data per platform.
145
| `trigger.entity_id` | Entity ID that caused change.
146
| `trigger.from_state` | Previous [state object] of entity that caused change.
147
| `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.
149
150
### time
151
0 commit comments