What does chmod +x /path/to/homeassistant/bash/curtains-close.sh in the host terminal do?
chmod +x /path/to/homeassistant/bash/curtains-close.sh
What does this do in automations
condition: [] action: - action: shell_command.curtains_close mode: single
Personally I have this working