diff --git a/src/homekit/accessories/HttpWebHookGarageDoorOpenerAccessory.js b/src/homekit/accessories/HttpWebHookGarageDoorOpenerAccessory.js index c050a64..2a099ff 100644 --- a/src/homekit/accessories/HttpWebHookGarageDoorOpenerAccessory.js +++ b/src/homekit/accessories/HttpWebHookGarageDoorOpenerAccessory.js @@ -84,7 +84,7 @@ HttpWebHookGarageDoorOpenerAccessory.prototype.changeFromServer = function(urlPa } HttpWebHookGarageDoorOpenerAccessory.prototype.getTargetDoorState = function(callback) { - this.log("Getting current Target Door State for '%s'...", this.id); + this.log.debug("Getting current Target Door State for '%s'...", this.id); var state = this.storage.getItemSync("http-webhook-target-door-state-" + this.id); if (state === undefined) { state = Characteristic.TargetDoorState.CLOSED; @@ -118,7 +118,7 @@ HttpWebHookGarageDoorOpenerAccessory.prototype.setTargetDoorState = function(new }; HttpWebHookGarageDoorOpenerAccessory.prototype.getCurrentDoorState = function(callback) { - this.log("Getting Current Door State for '%s'...", this.id); + this.log.debug("Getting Current Door State for '%s'...", this.id); var state = this.storage.getItemSync("http-webhook-current-door-state-" + this.id); if (state === undefined) { state = Characteristic.CurrentDoorState.CLOSED; @@ -127,7 +127,7 @@ HttpWebHookGarageDoorOpenerAccessory.prototype.getCurrentDoorState = function(ca }; HttpWebHookGarageDoorOpenerAccessory.prototype.getObstructionDetected = function(callback) { - this.log("Getting Obstruction Detected for '%s'...", this.id); + this.log.debug("Getting Obstruction Detected for '%s'...", this.id); var state = this.storage.getItemSync("http-webhook-obstruction-detected-" + this.id); if (state === undefined) { state = false; @@ -139,4 +139,4 @@ HttpWebHookGarageDoorOpenerAccessory.prototype.getServices = function() { return [ this.service, this.informationService ]; }; -module.exports = HttpWebHookGarageDoorOpenerAccessory; \ No newline at end of file +module.exports = HttpWebHookGarageDoorOpenerAccessory;