mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
AJStubbsy.markdown (#13551)
This commit is contained in:
parent
52e0ba4fc5
commit
7753b3e886
@ -33,6 +33,16 @@ As "Service Data" we want a simple text that is shown as part of the notificatio
|
||||
}
|
||||
```
|
||||
|
||||
The Automation Editor does not currently support **data_template** as a "Service Data" entry. For these actions, it will be necessary to edit as YAML. This can be achieved by clicking the menu (3 vertical dots) and selecting "Edit as YAML"
|
||||
|
||||
```yaml
|
||||
# Example of how to use data_template in the Automation Editor, using "Edit as YAML"
|
||||
data_template:
|
||||
message: >
|
||||
Paulus just changed from {{ trigger.from_state.state }}
|
||||
to {{ trigger.to_state.state }}
|
||||
```
|
||||
|
||||
Don't forget to save your new automation rule. For your saved automation rule to come into effect, you will need to go to the **Configuration** page and click on **Reload Automation**.
|
||||
|
||||
## Updating your configuration to use the editor
|
||||
|
Loading…
x
Reference in New Issue
Block a user