Hi there,
I am creating my first automation (simple state change to action email notification) but no matter what I do when I go to save it gives me this error.
This is the problem since I am operating from the UI and it doesn’t save it , so I can’t show how the config looks like.
Should I take screenshots instead?
You are right in fact I never received any emails from that automation rule.
I also tried with lower case or all upper case but never gets triggered.
I did try the manual execution of the automation and I do get emails.
I do see the switch changing state in the UI.
I also tried to restart the Automation service after changes.
I am not sure what else to try.
Cheers.
That confirms the action section of the automation is working properly. The problem must be the trigger.
If the following automation fails to trigger, you need to go to the Developer Tools > States page, find switch.digoo_alarm and confirm its state changes from off to on.
- id: '1596732058363'
alias: Digoo Keyfob
description: ''
trigger:
- entity_id: switch.digoo_alarm
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: digoo
title: office was armed
service: notify.autobot_gmail
mode: single
There’s a very specific set of circumstances where automations can be disabled after a restart but it would involve cutting power to the machine while Home Assistant is still running.
I was getting the same message. What I noticed was that each time I added a trigger or action the UI would create a blank “table” for the next one. If I deleted those extra blank “tables”, then, it saved the automation!
I not sure if this was the cause for you, but I thought I’d let you know.
I got the same Problem on my Pi4 / 8GB, on SSD on 64Bit. If I create a Automation, and hit SAVE, it will save it to the automations.yaml, but I can not see it at the UI, and also any Automation does not work. As this is a TEST System that I create for my new House, i deleted every Line in automations.yaml, but anyway this does not work. Automations will not work and be not displayed on the UI.