14 lines
887 B
Python
14 lines
887 B
Python
"""Application configuration."""
|
|
|
|
# ── Budget ────────────────────────────────────────────────────────────
|
|
BUDGET_S = 3600 # default 60 min in seconds
|
|
|
|
# ── Timer ─────────────────────────────────────────────────────────────
|
|
TICK_INTERVAL = 10 # seconds between budget check cycles
|
|
|
|
# ── Allowed device hours (curfew) ─────────────────────────────────────
|
|
ALLOWED_WEEKDAY_START = 15 # Mon-Fri start hour
|
|
ALLOWED_WEEKDAY_END = 20 # Mon-Fri end hour
|
|
ALLOWED_WEEKEND_START = 8 # Sat-Sun start hour
|
|
ALLOWED_END_MINUTE = 30 # End minute (all days)
|