How to disable a Slave using a py script