Desperate! Command Failed Switch sh script


I am completely desperate… I have tried everything and I have read lots and lots of posts without any success.

I just want to execute a simple sh script from a command line switch. My lines in the configuration.yaml are:

  • platform: command_line
    command_on: “/home/”
    command_off: “/home/”

I have simplify my sh to a file calles “” with just:

ls -la

Of couse, the script works in the ssh web terminal.

I have tried everything. I have tried to change permisions to 777. I have read something about the owner of the file but I have not found any user to assign the property of the script (homeassitant, hassio, HA).

Please help!!. I am at one step to give up and choose any other platform.

Thank yo very much in advance!!!