State machine options.
Optional
Initial state (defaults to 'idle')
Maximum error count before permanent error state
Enable transition history tracking
Maximum history entries to keep
State machine options.