test watch script

This commit is contained in:
Aaro Varis
2026-02-05 10:39:25 +02:00
parent 46cfaaff06
commit 7012024a6a

View File

@@ -88,7 +88,7 @@ class AlarmClock:
longPressThreshold: float = 1.0 # 1 second for long press
buttonPressStartTime: float = 0.0
configMode: str = "normal" # modes: normal, set_hour, set_minute
alarmTime: datetime = datetime.now(ZoneInfo("Europe/Helsinki")).replace(hour=9, minute=50, second=0, microsecond=0)
alarmTime: datetime = datetime.now(ZoneInfo("Europe/Helsinki")).replace(hour=9, minute=51, second=0, microsecond=0)
actionsResetForToday: bool = False
alarmActive: bool = False
def __init__(self, pins: dict = {}):