I want automations to be able to fire a persistent alert - for example, if the freezer door is left open, then several lights flash red. The catalyst for the question comes in turning them off, preferably automatically (i.e., freezer door left open, alert lights activate, go close the door and lights go off).
So looking for suggestions on efficient and clean ways to do this. I'm not sure if a helper virtual toggle would be useful, or if I should approach this with scenes or scripts or whatnot.