From 0d5598d5d8e82aa80963fd6a48bc4c45525cc7a2 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Sat, 3 Feb 2018 01:22:07 +0000 Subject: [PATCH] turned off debug message for light --- lib/light-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 });