Quite a bit of cleanup since SmartThings had created a proper sunrise/sunset event since I first created this (a very long time ago)