The request
“Draw a traffic light state diagram that starts at Red, changes from Red to Green to Yellow on a timer, returns to Red, and can end when power is turned off.”
Then tryAdd a flashing red maintenance state.Change the power-off transition to start from every light state.
More like this