Validation required for wiring of a 3 pin illuminated rocker switch
You did use the three terminal rocker switch correctly but as mentioned in comments, you should use the updated schematic showing how to properly connect the momentary switch.