Viasat interview question

Draw a state machine for a garage door