Using lights as a reusable notification for events

This is pretty much exactly what I built - Signal Lights. Define colored signals with triggers (entity state, threshold, template), register your lights, and it handles the priority queue.