homebridge-abode
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -14,3 +14,3 @@ var Service, Characteristic; | ||
this.binaryState = 0; // bulb state, default is OFF | ||
this.log("Starting a fake bulb device with name '" + this.bulbName + "'..."); | ||
this.log("WUBA: Starting a fake bulb device with name '" + this.bulbName + "'..."); | ||
// this.search(); | ||
@@ -21,3 +21,3 @@ } | ||
var powerOn = this.binaryState > 0; | ||
this.log("Power state for the '%s' is %s", this.bulbName, this.binaryState); | ||
this.log("PWUBA: ower state for the '%s' is %s", this.bulbName, this.binaryState); | ||
callback(null, powerOn); | ||
@@ -28,3 +28,3 @@ } | ||
this.binaryState = powerOn ? 1 : 0; // wemo langauge | ||
this.log("Set power state on the '%s' to %s", this.bulbName, this.binaryState); | ||
this.log("SWUBA: et power state on the '%s' to %s", this.bulbName, this.binaryState); | ||
callback(null); | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "homebridge-abode", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Abode Plugin for homebridge", | ||
@@ -5,0 +5,0 @@ "scripts": { |
6921