surge919
(surge919)
September 17, 2017, 5:04pm
1
Does the Automation Editor support data templates? (data_template)
The following works when I add it directly to automations.yaml
- data_template:
message: 'is now {{ trigger.to_state.state }} '
title: '{{trigger.to_state.attributes.friendly_name}}'
notification_id: '1234'
service: persistent_notification.create
But the editor shows it as
2 Likes
surge919
(surge919)
September 22, 2017, 3:27am
2
has anyone figured out if this is possible?
surge919
(surge919)
October 31, 2017, 8:44pm
4
data: … doesn’t seem to allow variables
Lantzi:
Try only
I’ve got the same issue, have you been able to figure this out ?
surge919
(surge919)
December 23, 2017, 9:07pm
6
Nope. I use the Automation Editor for some basic automation but if I need templates, I have to manually edit the file.
It’s an incomplete addition to Haas… kind of Google-like
2 Likes
surge919
(surge919)
September 17, 2018, 8:30pm
7
Any updates on this?
I’d like to use Automation Editor but I need templates.
thanks
RyanEwen
(Ryan Ewen)
May 10, 2019, 11:11pm
8
+1
Would be great to have this, even if it’s just another box to type JSON into after the ‘data’ box.
At least editing using the UI doesn’t undo edits to the yaml file.
mrt
October 5, 2019, 9:48am
10
The problem seems to persist in v0.97.2.
haip
November 25, 2019, 3:27pm
12
The problem still exists in 0.102.1. No data_template in Automation Editor.
Ernst
(Ernst)
December 23, 2019, 1:04pm
13
In version 0.103 YAML support has been added in the automation editor. You can now edit every individual trigger, condition or action as YAML. This allows you to add data_templates.
Just click on the three dots in the top right and click “Edit as YAML”
4 Likes