homebridge-delay-switch
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -49,2 +49,3 @@ | ||
delaySwitch.prototype.setOn = function (on, callback) { | ||
@@ -82,4 +83,10 @@ | ||
delaySwitch.prototype.getOn = function (callback) { | ||
callback(null, this.switchOn); | ||
} | ||
delaySwitch.prototype.getMotion = function(callback) { | ||
callback(null, this.motionTriggered); | ||
} |
{ | ||
"name": "homebridge-delay-switch", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Delay switches for Homebridge: https://github.com/nfarina/homebridge", | ||
@@ -5,0 +5,0 @@ "license": "ISC", |
5936
60