Fix for https://forum.relayr.io/t/python-api-error-device-is-not-public/309

Please check it and update if I missed something.