I am trying to get a shell script to work, but all I find is posts and articles with, what it seems, outdated information. I have this shell script file ‘curtains-close.sh’ that works from other non-home assistant systems. I added this to the folder homeassistant/bash:
But I cant seem to get this script in an automation. A lot of posts and articles talk about adding a call to service, but that’s no longer there in the current HA version. I can perform a action, but there doesn’t seem a way to add this script. Also the information about shell script of HA seems to be quite outdated.
Am I missing something? Does anyone has a clear step-be-step info how to add and run shell scripts?