mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-04 22:35:08 +00:00
Schedule and dim windows are half-open [start, end): on from the start time, off at exactly the end time, whatever second the check runs. An on-demand session that ends in scheduled-off hours (expiry or stop) clears the once-a-minute schedule gate, so the panel blanks within about a second. Golden: schedule; two test_display_pending_changes.py tests now say end_time 23:00. Merged with #712 and #713: with all three in, docs/RUN_LOOP_REDESIGN.md's 'may be wrong' list is empty, so that section now records that all six items are fixed and by which PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
952 B
JSON
28 lines
952 B
JSON
{
|
|
"screens": [
|
|
[0.0, "clock", 20.0, "duration", 20, false],
|
|
[20.0, "weather", 20.0, "duration", 20, true],
|
|
[40.0, "clock", 20.0, "duration", 20, true],
|
|
[60.0, "weather", 20.0, "duration", 20, true],
|
|
[80.0, "clock", 10.0, "schedule-off", 11, true],
|
|
[90.0, "<off>", 80.0, "on-demand-start", 3, null],
|
|
[170.0, "weather", 20.0, "on-demand-expired", 20, true],
|
|
[190.0, "<off>", 140.0, "schedule-on", 3, null],
|
|
[330.0, "clock", 20.0, "duration", 20, true],
|
|
[350.0, "weather", 20.0, "duration", 20, true],
|
|
[370.0, "clock", 20.0, "duration", 20, true],
|
|
[390.0, "weather", 10.0, "horizon", 10, true]
|
|
],
|
|
"events": [
|
|
[30.0, "brightness", 30],
|
|
[90.0, "schedule-off"],
|
|
[170.0, "request", "start:s1"],
|
|
[170.0, "on-demand-start", "weather"],
|
|
[170.0, "schedule-on"],
|
|
[170.0, "brightness", 90],
|
|
[190.0, "on-demand-expired"],
|
|
[190.0, "schedule-off"],
|
|
[330.0, "schedule-on"]
|
|
]
|
|
}
|