From 5e89bbe74d3192aa2e64f4495306dd05e71d0d52 Mon Sep 17 00:00:00 2001 From: Jon Maddox Date: Thu, 25 Jun 2015 02:01:01 -0400 Subject: [PATCH] clean up --- platforms/Wink.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platforms/Wink.js b/platforms/Wink.js index fd0fc53..7b6083f 100644 --- a/platforms/Wink.js +++ b/platforms/Wink.js @@ -208,7 +208,9 @@ WinkAccessory.prototype = { designedMaxLength: 255 },{ cType: types.POWER_STATE_CTYPE, - onUpdate: function(value) { that.setPowerState(value); }, + onUpdate: function(value) { + that.setPowerState(value); + }, onRead: function(callback) { that.getPowerState(function(powerState){ callback(powerState); @@ -223,7 +225,9 @@ WinkAccessory.prototype = { designedMaxLength: 1 },{ cType: types.BRIGHTNESS_CTYPE, - onUpdate: function(value) { that.setBrightness(value); }, + onUpdate: function(value) { + that.setBrightness(value); + }, onRead: function(callback) { that.getBrightness(function(level){ callback(level);