Com=Red, L1 = Yellow, L2 = Blue, (which you say doesn't work)
or Com=Red, L1=Blue, L2=Yellow
or Com=Blue, L1=Red, L2=Yellow
or Com=Blue, L1=Yellow, L2=Red
or Com=Yellow, L1=Red, L2=Blue
or Com=Yellow, L1=Blue, L2=Red
Are your six options to try.
If the old switch was labelled...