test watch script
This commit is contained in:
2
init.py
2
init.py
@@ -88,7 +88,7 @@ class AlarmClock:
|
|||||||
longPressThreshold: float = 1.0 # 1 second for long press
|
longPressThreshold: float = 1.0 # 1 second for long press
|
||||||
buttonPressStartTime: float = 0.0
|
buttonPressStartTime: float = 0.0
|
||||||
configMode: str = "normal" # modes: normal, set_hour, set_minute
|
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
|
actionsResetForToday: bool = False
|
||||||
alarmActive: bool = False
|
alarmActive: bool = False
|
||||||
def __init__(self, pins: dict = {}):
|
def __init__(self, pins: dict = {}):
|
||||||
|
|||||||
Reference in New Issue
Block a user