Hi All, I am very new to Home Assistant (and using YAML) and I am having troubles with the shell_command. I want to run a curl command and the command I have works fine in the terminal.
I use the GUI a fair bit in home assistant so I may be adding this in the wrong location.
I add the command in the following location:
Automation & Scenes, I have created a new automation and then I create a new action by clicking “Add Action” I am choosing “Fire Event” then adding in my YAML for the shell command here.
is this the correct place to add this? example of the command is below.
shell_command: runshell: >- curl -X POST https://webhook.site/691509d6-ff7b-47f5-80ef-a26fbf67b480 -H 'Content-Type: application/json'
Thank you for your help.