diff --git a/source/_docs/automation/editor.markdown b/source/_docs/automation/editor.markdown index 37f4886676d..19b087b8a89 100644 --- a/source/_docs/automation/editor.markdown +++ b/source/_docs/automation/editor.markdown @@ -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