Spotify: alarms like every other key, any day (Sunday window is only for auto-fix)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-13 10:20:29 -04:00
co-authored by Claude Opus 5.5
parent bdec4251d9
commit 9a108b2508
6 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class TestChecks(unittest.TestCase):
self.assertEqual(msg().level, sp.OK) # not read yet
s.spotify = {"running": False}
self.assertEqual(msg().msg, "SPOTIFY CLOSED")
self.assertEqual(msg({"now": WEDNESDAY}).level, sp.OFF) # grey, not an alarm, outside services
self.assertEqual(msg({"now": WEDNESDAY}).msg, "SPOTIFY CLOSED") # alarms like every other key, any day
s.spotify = {"running": True, "state": "paused", "track": "spotify:track:a"}
self.assertEqual(msg().msg, "NOT PLAYING")
s.spotify["state"] = "playing"