mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 16:23:04 +02:00
- Added SCHEDULED_SKIPS_FILE constant pointing to scheduled_skips.json - Added _is_scheduled_skip_today() method: reads JSON list of YYYY-MM-DD strings, exits 0 if today's UTC date is found (skips lock entirely) - _shutdown.py: changed rtcwake -m no -> -m disk so machine hibernates immediately when scheduling morning alarm (bedroom use) - Added tests/test_scheduled_skip.py with full branch coverage - Added scheduled_skips.json with initial skip dates
2 lines
43 B
JSON
2 lines
43 B
JSON
["2026-05-19", "2026-05-20", "2026-05-21"]
|