Add the butter to a large cast iron skillet over medium heat.
Once butter has melted, add the onions and cook until translucent, stirring frequently.
Add the sweet potato and bell pepper to the cast iron skillet and reduce heat to medium-low. Cook for 20 to 30 minutes until potatoes are soft.
Meanwhile, in a separate large skillet, cook the bacon over medium heat until done. Reserve the bacon fat and chop the bacon up.
Add the bacon pieces, about 4 tablespoons of bacon fat, thyme, cumin, salt, and pepper to the potato skillet and stir to combine.
In the pan that you cooked the bacon, cook the eggs over easy.
Transfer hash to plates or bowls and top each with an egg. Add salt and pepper to taste and serve hot.