Show email

This commit is contained in:
James Hush
2025-05-25 11:28:52 +08:00
parent 3335629767
commit d4de9cbf34

View File

@@ -48,6 +48,7 @@ class AlertProcessor(FrameProcessor):
logger.info(f"Alert Processor received text: {frame.text}")
text = frame.text.strip().upper()
if text == "YES":
# SEND AN EMAIL HERE
logger.info("Alert: YES")
else:
logger.info("Alert: NO")