From 68cd0906b95c8b8c6dd7a470ca764e4ca4fec166 Mon Sep 17 00:00:00 2001 From: Nitay Ben-Zvi Date: Mon, 13 Dec 2021 18:08:14 +0200 Subject: [PATCH] remove some logs --- lib/stateManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stateManager.js b/lib/stateManager.js index af16b98..f381a21 100644 --- a/lib/stateManager.js +++ b/lib/stateManager.js @@ -4,7 +4,7 @@ module.exports = { get: { On: function(callback) { - this.log(`Switcher ${this.name} is ${this.state.power ? 'ON' : 'OFF'}`) + this.log.easyDebug(`Switcher ${this.name} is ${this.state.power ? 'ON' : 'OFF'}`) callback(null, !!this.state.power) }, @@ -15,7 +15,7 @@ module.exports = { }, Active: function(callback) { - this.log(`Switcher ${this.name} is ${this.state.power ? 'Active' : 'INACTIVE'}`) + this.log.easyDebug(`Switcher ${this.name} is ${this.state.power ? 'Active' : 'INACTIVE'}`) callback(null, this.state.power) },