Compare commits

...

1 Commits

Author SHA1 Message Date
8044207216 Say alert is from Doormind 2025-08-01 21:05:28 +00:00

View File

@@ -202,7 +202,7 @@ async def monitor_state_transitions(app):
for threshold in OPEN_ALERT_THRESHOLDS_MINUTES:
if open_duration_minutes >= threshold and threshold not in OPEN_ALERTS_SENT_FOR_CURRENT_OPENING:
msg = f"ALERT: Garage door has been open for {threshold} minutes."
msg = f"Doormind: Garage door has been open for {threshold} minutes."
await controller_message(app, msg)
logging.info(msg)
OPEN_ALERTS_SENT_FOR_CURRENT_OPENING.append(threshold)