#Secrets in Automations
1 messages · Page 1 of 1 (latest)
@simple drift Did you get this figured out? I'm also interested if I can use secrets inside the templates or part of the command_line argument?
cant use secrets with the UI editor. I think you can use a secret if you write your automation/script in a yaml file.
like this?
command_line:
- sensor:
name: Leakomatic
unique_id: "LeakomaticCommandLine"
command: "python3 python_scripts/leakomatic/get_status.py -u {{!secrect myEmail}} -p {{!secrect myPass}} -j -d 2095"