The ceiling lamp and the LED light off but the dark will power it
just part of the current loop generated by the light, it's power consumption.
If the dark just for a while, then when you close the switch
Rarely, you may switch off the zero line, a direct line is, if this is the case has been dark.