Move configuration to config.py
This commit is contained in:
13
config.py
Normal file
13
config.py
Normal file
@ -0,0 +1,13 @@
|
||||
"""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)
|
||||
Reference in New Issue
Block a user