Memento alarms

The "if succeeded" statement means the alarm clear only gets run on the first success after a failure,