i need to do an electrical circuit to which when the alarm goes on the lights goes on and the ac turn of