Trigger events limitation, web not firmware solution

I’ve read this and similar topics.

It’s a little difficult to reload the firmware in, say, ESP32 when needs change.
A limit on the number of events via the web interface would be very welcome. For example, a limit per minute, hour, day, or week. Sometimes events are triggered and before we notice it, the mailbox is filled with hundreds of emails.

For example, in my case, I am interested in when the spring soil temperature reaches the conditions for the growth of fungi.