Use local machine time instead of unix for messages and have better timestamp formatting

This commit is contained in:
2025-06-07 14:44:20 -04:00
parent ebaede4d41
commit b828a84310
4 changed files with 20 additions and 21 deletions

View File

@ -7,9 +7,8 @@ from typing import Optional
from ntfy import Ntfy
_time_now = time.time()
last_cpu_check_warning: float = _time_now
last_check_debounce: int = 120 # Seconds
last_cpu_check_warning: float = _time_now
last_check_debounce: int = 120 # Seconds
class Tempature:
cpu_temp_warning_message: str = "🌡️ CPU is at a high tempature."