"Can you create an alarm system that is operated by a switch? The system should dim the lights gradually. After the lights are fully dimmed, alarm lights should starting flashing for 8 seconds along with an alarm that blares for 8 seconds. After 8 seconds, the alarm turns off and the lights return."