ice entries to build the option and push to the device objects array
				// Using a for loop to set the value to the levels 10,20 etc. The value 0 (Off) is not used
				var deviceLevel = data.result[0].Level;
				var valueSelected;
				var i;
				var level = 10;
				for (i = 1; i < locationLevels.length; i++) {
					valueSelected = (level == deviceLevel) ? "selected" : "";
					// console.log(level + "=" + deviceLevel + "," + valueSelected);
					optionValue = '<option value='+ level +' ' + valueSe