#Secret in automation
1 messages · Page 1 of 1 (latest)
Does the secret exist in the secrets file?
Did you restart HA after adding the secret to the file?
Both are needed in order to call a secret like that.
Do you see this in VSCode? It often gives false messages about this
The secret does exist in the secrets.yaml file. HA has been restarted. I'm using the automations editor.
I don't think secrets work when using the GUI
🤔
This sounds like a strong candidate for WTH.
The docs made no mention of this. I spent about an hour searching for an answer before coming here.
This seems to confirm my assumption https://community.home-assistant.io/t/how-to-use-secrets-in-automations-yaml/312824?u=thefes