feat: complete device management system with float budget tracking, curfew enforcement, TUI, and parallel checks
- Float-based budget tracking with precise elapsed time calculation - Curfew enforcement (devices turn off when blocked) - Terminal TUI with live status refresh - Parallel device checks using ThreadPoolExecutor - Simplified config with time range format (e.g. '15:00-20:30') - Optimistic UI updates for budget buttons - Bug fixes: curfew shutdown, last_check reset on offline
This commit is contained in:
1
.device_state.json
Normal file
1
.device_state.json
Normal file
@ -0,0 +1 @@
|
||||
{"tv": {"budget": 3600, "last_online": "2026-06-15T16:02:02.797875", "last_check": 1781642261.0436604}, "gaja": {"budget": 196.5179741382599, "last_online": "2026-06-15T19:07:34.873875", "last_check": 1781642261.0427294}, "gabi": {"budget": 300.0, "last_online": "2026-06-15T19:07:45.943928", "last_check": 1781642261.042555}}
|
||||
Reference in New Issue
Block a user