Hello all
I am trying to create an automation that will send me a push notification whenever the state of my front door changes.
When creating this, I have the trigger defined as this:
And the Action, I have it in YAML form as this:
action:
- data_template:
message: “Front Door {{ trigger.to_state.state }}”
service: notify.notify
I keep getting this error when I try to save:
Message malformed: Unable to determine action @ data[‘action’][0]
What am I doing wrong?