Critical thinking

What is wrong with this argument? “If the alarm is set, the light flashes. The light flashes. Therefore, the alarm is set.”