I've got a python cli script for turning my spa on. If I execute it from the command line, it works no problem.
Adding it as a Server side shell script action, I get:
Action Group Spa on
Action Collection Error Script /Users/home/bin/spa_on.py exited abnormally with a return code of: 1
Is there any way to get better debugging on this?