Shouldn't it be Time.hour, not Time.minute?
Shouldn't it be Time.hour, not Time.minute?

Nice project btw. Was just skimming the code to see how it worked, and saw that you were comparing the sunrise hours with the current minute... not sure that was quite what you intended ;)
JeanPierreFig/SunRiseLamp