The light switch will turn on and off the light if it is programmed properly. Select the Visibility1, open the programming window and insert the following code:
SwitchSelect(LightSwitch.ShowIndex;1;0)
Click OK and close the window.You're done!