From 7d5a992c98173d8486df8ae4ee68a15db346119f Mon Sep 17 00:00:00 2001 From: David Parry Date: Fri, 11 Sep 2015 17:30:25 +1000 Subject: [PATCH] minor cleanup --- platforms/LIFx.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/platforms/LIFx.js b/platforms/LIFx.js index 62167f6..79988eb 100644 --- a/platforms/LIFx.js +++ b/platforms/LIFx.js @@ -214,7 +214,6 @@ LIFxBulbAccessory.prototype = { // gets and sets over the lan api service .getCharacteristic(Characteristic.On) - .on('identify', function(callback) {}) .on('get', function(callback) { that.getLan("power", callback);}) .on('set', function(value, callback) {that.setLanPower(value, callback);}); @@ -239,7 +238,6 @@ LIFxBulbAccessory.prototype = { // gets over the lan api, sets over the remote api service .getCharacteristic(Characteristic.On) - .on('identify', function(callback) {}) .on('get', function(callback) { that.getLan("power", callback);}) .on('set', function(value, callback) {that.setRemotePower(value, callback);}); @@ -264,7 +262,6 @@ LIFxBulbAccessory.prototype = { // gets and sets over the remote api service .getCharacteristic(Characteristic.On) - .on('identify', function(callback) {}) .on('get', function(callback) { that.getRemote("power", callback);}) .on('set', function(value, callback) {that.setRemotePower(value, callback);}); @@ -291,7 +288,7 @@ LIFxBulbAccessory.prototype = { service = new Service.AccessoryInformation(); service - .setCharacteristic(Characteristic.Manufacturer, "LiFX") + .setCharacteristic(Characteristic.Manufacturer, "LIFX") .setCharacteristic(Characteristic.Model, this.model) .setCharacteristic(Characteristic.SerialNumber, this.serial);