Arduino get data from Wall light switch

The suggestion you did earlier about the LDR sensor will this get triggered by the natural light from the window?

Not if you put the LDR close to the bulb, or enclose it in a tube pointing at the lamp, and adjust the sensitivity correctly.