Which Wire is the Switch
In some electrical installations the cable which goes to the light switch might be wired in a twin red or twin brown cable, this is where two of the cores (conductors) are both the same colour, being both brown or both red.
If you are unable to identify which wire goes to the light switch then you will need to test it with a multimeter, set the meter to the continuity (Ω) setting, some multimeters also have an audible buzzer.
To test the switch wire connect the black lead of the multimeter to the blue wire (or black if old colours), then connect the multimeter red lead to the brown wire (or red if old colours) of the same cable.
Now switch the light switch on and off, the multimeter should buzz (if the meter has a buzz function) and will show an ohms reading when the light switch is in the ON position, and will stop buzzing and show an open circuit reading “OL” when the light switch is in the OFF position, some multimeters may show a different value for open circuits.
Follow the above procedure for each cable until you have identified which cable is the light switch cable.
Note, before conducting any tests you must follow the safe isolation procedure.