turned off debug message for light
This commit is contained in:
parent
cc189000c9
commit
0d5598d5d8
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user