Show email
This commit is contained in:
@@ -48,6 +48,7 @@ class AlertProcessor(FrameProcessor):
|
|||||||
logger.info(f"Alert Processor received text: {frame.text}")
|
logger.info(f"Alert Processor received text: {frame.text}")
|
||||||
text = frame.text.strip().upper()
|
text = frame.text.strip().upper()
|
||||||
if text == "YES":
|
if text == "YES":
|
||||||
|
# SEND AN EMAIL HERE
|
||||||
logger.info("Alert: YES")
|
logger.info("Alert: YES")
|
||||||
else:
|
else:
|
||||||
logger.info("Alert: NO")
|
logger.info("Alert: NO")
|
||||||
|
|||||||
Reference in New Issue
Block a user