"First Time" Rule

The two design patterns pointed to be lipp are applicable indeed. But 8 actually approach this from a different angle using

I create a Notified switch item that gets set to ON when the alert gets sent and OFF when the sense goes back to safe levels or at midnight. I check this flash before sending the alert.