Check edge conditions of the alarm