Can't control led lamp example from dashboard

Hi all,

I’ve uploaded the example code for the led lamp (with fade function) to my Arduino ESP32. After adding by URL the it appears as “My Lamp” on the dashboard with all the properties in place.
However I can’t control the lamp from the dashboard. No switch on/off, no fade or brightness adjustments work. Nothing happens, the led just burns no matter what I do.
I have tested the required analogWrite library and that works.

Is there something I am missing here? Hope someone can help. TIA, Danielle.