Make A Python Code For This Device Is Not Working