I have created the folder in config/python_scripts and add the file "open_door.py"
I have added in the yaml:
shell_command:
open_door: 'python3 python_scripts/open_door.py --username myusername --password mypassword '
Then created a scrip calling to the shell_command:open_door.
Everything seem works well, but the door don't open.
Sure there is something I'm wrong.
Could you please help me to identify where the problem is.
Thanks in advance!
Hi marcosav. Thanks for this ans share it.
I have created the folder in config/python_scripts and add the file "open_door.py" I have added in the yaml: shell_command: open_door: 'python3 python_scripts/open_door.py --username myusername --password mypassword ' Then created a scrip calling to the shell_command:open_door. Everything seem works well, but the door don't open.
Sure there is something I'm wrong. Could you please help me to identify where the problem is. Thanks in advance!