From de15708667e7c9c552e37d69ddba913a84b1f08d Mon Sep 17 00:00:00 2001 From: Phil Bruckner Date: Fri, 5 Jul 2019 18:06:58 -0500 Subject: [PATCH] Add missing trigger.for variable to template trigger (#9752) --- source/_docs/automation/templating.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_docs/automation/templating.markdown b/source/_docs/automation/templating.markdown index e2cdae013b4..2b80dfc5d5e 100644 --- a/source/_docs/automation/templating.markdown +++ b/source/_docs/automation/templating.markdown @@ -145,6 +145,7 @@ The following tables show the available trigger data per platform. | `trigger.entity_id` | Entity ID that caused change. | `trigger.from_state` | Previous [state object] of entity that caused change. | `trigger.to_state` | New [state object] of entity that caused template to change. +| `trigger.for` | Timedelta object how long state has been to state, if any. ### time