There should be one LED for the 5 volt power and one LED for the 24 volt power which will probably need a bigger resistor.