I am trying to install a outdoor light with inbuilt PIR system but confused with the wiring. So the wires from the main switch consist of a blue, red, yell/green and a yellowAnd the outdoor light consist of a red,blue,brown and yellow/green wire connected to a box.I connected the light as follows(blue to blue, red to red and earth to earth) and the light works but doesn't switch off.I was wondering whether I have got the connections wrong way round and also what should I do with the yellow write coming from the main switch.Help please