I am pretty new to HA. I’m using Home Assistant 2023.1.7 running in VirtualBox on Windows 10.
I have built a device to measure the salt level in my water softener with an ultrasonic distance sensor and a raspberry pi pico. I’ve got it setup to use MQTT, and I’ve setup an automation to send me a notification email when the distance is above a certain threshold (so I know to put more salt in). I’ve tested the device and the automation, and it works fine.
I’m worried! What if I messed something up in the automation or the device, and it starts triggering SMTP notifications over and over?
Is there a way for me to throttle / limit the number of notifications that HA will trigger? Right now, for instance, there’s no reason that HA should send out more than, say, 10 emails per day. I didn’t see any kind of limit/throttle setting in the docs: SMTP - Home Assistant
Is there a condition or some other setting in an automation that I can use to ensure the notification action of an automation won’t happen more than once per day?
I just noticed a “Delay for a duration” on “Actions”. If I set that to, say, 24 hours, would that keep the whole automation from being triggered again?