Secrets in automations

The Automation Editor has several known limitations and bugs, some of which occur when toggling between Visual/YAML modes.

Here’s a post from over a year ago that reports the inability to correctly handle !secret

The problem was reported in the GitHub Frontend repository (earlier this year) but the Issue was never addressed:

All this to say that !secret is supported in automations, but mishandled by the Automation Editor.