Help me with my LED control with Cayenne

Hi Arduino community. Im new here and I just started learning Arduino for my school project. So basically a lot of things I want to ask about the problems that I need to fix for improving my project. I hope anybody who professional in Arduino and IOT especially can answer my question. :smile:
.
.
.
Now, someone please help me what is the problem with my project ? :thinking:
I still not found what is the problem with the LED/bulb. I think the ESP32 seems working because if I switch on the power on Cayenne dashboard the on board blue light (look at the image given) will disappear and will appear back when I switch off. I used Studuino light bulb to replace LED because it not work too. The bulb can receive high voltage compared to LED so its doenst need a resistor.

.
The image of my project & the code
—> bit.ly/2J7u1f8
.
.
Thanks. :smile:

it would be helpful if you provide the code used and the output of the serial monitor after adding #define CAYENNE_DEBUG in top of your code.