From b2280c3902c925573b4e5dc2386557b8c9569cf1 Mon Sep 17 00:00:00 2001 From: Stephen Yeargin Date: Sat, 27 Jun 2015 23:24:09 -0500 Subject: [PATCH] [Trivial] Text cleanup --- platforms/PhilipsHue.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/PhilipsHue.js b/platforms/PhilipsHue.js index 94be06e..fcd5624 100644 --- a/platforms/PhilipsHue.js +++ b/platforms/PhilipsHue.js @@ -54,7 +54,7 @@ var locateBridge = function (callback) { } if (bridges.length > 1) { - that.log("Warning: Multiple Philips Hue bridges detected. The first bridge will be used automatically. To use a different bridge set ip_address manually in configuration."); + that.log("Warning: Multiple Philips Hue bridges detected. The first bridge will be used automatically. To use a different bridge, set the `ip_address` manually in the configuration."); } that.log( @@ -72,7 +72,7 @@ var locateBridge = function (callback) { that.log("Attempting to discover Philips Hue bridge with meethue.com..."); hue.nupnpSearch(function (locateError, bridges) { if (locateError) { - that.log("Philips Hue bridge discovery with meethue.com failed. Register your bridge with the meethue.com for more reiable discovery."); + that.log("Philips Hue bridge discovery with meethue.com failed. Register your bridge with the meethue.com for more reliable discovery."); that.log("Attempting to discover Philips Hue bridge with network scan..."); @@ -94,9 +94,9 @@ var locateBridge = function (callback) { PhilipsHuePlatform.prototype = { accessories: function(callback) { + this.log("Fetching Philips Hue lights..."); var that = this; var getLights = function () { - that.log("Fetching Philips Hue lights..."); var api = new HueApi(that.ip_address, that.username); // Connect to the API and loop through lights api.lights(function(err, response) {