mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add info about concurrent use of data and data_template (#9890)
This commit is contained in:
parent
4c6f3b8a03
commit
ca7a714ab2
@ -72,6 +72,8 @@ There are a few very important rules to remember when writing automation templat
|
|||||||
|
|
||||||
Remembering these simple rules will help save you from many headaches and endless hours of frustration when using automation templates.
|
Remembering these simple rules will help save you from many headaches and endless hours of frustration when using automation templates.
|
||||||
|
|
||||||
|
It is possible to use `data` and `data_template` concurrently but be aware that `data_template` will overwrite attributes that are provided in both.
|
||||||
|
|
||||||
## Trigger State Object
|
## Trigger State Object
|
||||||
|
|
||||||
Knowing how to access the [state object](/docs/configuration/state_object/) of a trigger entity could be one of the more common questions. Here are a few ways for the [`state`](#state), [`numeric_state`](#numeric_state) and [`template`](#template) triggers:
|
Knowing how to access the [state object](/docs/configuration/state_object/) of a trigger entity could be one of the more common questions. Here are a few ways for the [`state`](#state), [`numeric_state`](#numeric_state) and [`template`](#template) triggers:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user