Skip to content

Commit

Permalink
remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaybz committed Dec 13, 2021
1 parent c57bb04 commit 68cd090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stateManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},

Expand All @@ -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)
},

Expand Down

0 comments on commit 68cd090

Please sign in to comment.