diff --git a/lib/light-controller.js b/lib/light-controller.js index a150c26..6c59772 100644 --- a/lib/light-controller.js +++ b/lib/light-controller.js @@ -11,7 +11,7 @@ const LightController = function() { // const devices = new Map(); client.on('light-new', light => { logger.debug('New light found.'); - logger.debug('>>', light); + // logger.debug('>>', light); logger.debug(`ID: ${ light.id}`); logger.debug(`IP: ${ light.address }:${ light.port}`); @@ -22,7 +22,7 @@ const LightController = function() { logger.debug(`Label: ${ info.label}`); logger.debug('Power:', (info.power === 1) ? 'on' : 'off'); logger.debug('Color:', info.color); - logger.debug('info', info); + // logger.debug('info', info); _this.emit('found', light); const label = light.label || ''; _this.emit(label.replace(' ', ''), { 'status':light.status, 'id':light.id });