Triac not getting switched by optoisolator
Your Opto-Triac needs to be connected between G and A2.

More likely the reason your lamp does not light is you are placing two LEDs in series on a DIO pin that only provides 3.3 V. 

Run the two LEDs in parallel with separate resistors fed by the DIO pin.