I needed a traffic light for my kids to signal whether they can come in, or whether I am in a meeting with my head steaming full blast.
They love to stand in front of the door waiting for me to switch signals.. over and over.. and over and.. you get the idea ;)
I made a video about that I think you might find useful.
Please share remakes if you do some.
The EspHome code I was using is uploaded as well, so you can start from there.
The author marked this model as their own original creation.