change debuging to use 'debug' module
Fix for error thrown when no device resonse for get level, ramp, and on level.