Whoops. My NightTimer script had a stupid bug in it, which was causing the “Go to Sleep” feature to never work. Apparently I never actually tested that. It's fixed now.