From 6a0992a3f04f339c5eef7889fbd248b5c27bda15 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 12 Jan 2026 08:41:36 -0600 Subject: [PATCH] case fix --- appdaemon/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdaemon/scheduler.py b/appdaemon/scheduler.py index 1dfd4e33d..e6e7ef22e 100644 --- a/appdaemon/scheduler.py +++ b/appdaemon/scheduler.py @@ -498,7 +498,7 @@ async def get_next_period( match start: case "immediate": return now - case "now", _: + case "now" | _: aware_next = await self.parse_datetime(start, aware=True, now=now) # Skip forward to the next period if start is in the past # This makes the result in the first