A state machine diagram models event-driven behavior, particularly transitions from one state to another.

Create a UML state machine diagram for an automated washing machine that has different programs for different types of clothes (e.g., cotton, permanent press, and delicate).