mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Add missing trigger.for variable to template trigger (#9752)
This commit is contained in:
parent
3d0fe078ee
commit
de15708667
@ -145,6 +145,7 @@ The following tables show the available trigger data per platform.
|
|||||||
| `trigger.entity_id` | Entity ID that caused change.
|
| `trigger.entity_id` | Entity ID that caused change.
|
||||||
| `trigger.from_state` | Previous [state object] of entity 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.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
|
### time
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user