Skip to content

Commit 6a0992a

Browse files
committed
case fix
1 parent 5525d74 commit 6a0992a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appdaemon/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ async def get_next_period(
498498
match start:
499499
case "immediate":
500500
return now
501-
case "now", _:
501+
case "now" | _:
502502
aware_next = await self.parse_datetime(start, aware=True, now=now)
503503
# Skip forward to the next period if start is in the past
504504
# This makes the result in the first

0 commit comments

Comments
 (0)