As Securespark said, (if the landing and porch lights work properly then) that black wire must be a permanent live.
So - is the brown wire in that flex hanging from the ceiling connected to any of the wires at the switch position?
Also - could you post another picture of the switch wiring so we can clearly see which wires go to the connector blocks and which cables those wires come from.
I'm trying to explain it as best I can.
I will have to lift floor boards because someone asked how difficult it was to access the cables above the ceiling.
I wasn't sure if it was obvious that one of the cables had been split( apart from the earth wire which hasn't been cut
Yes, ok, but with all those wires at the switch apparently doing nothing, just thought it was a bit early to be lifting floorboards - although we do know a bit more now.
If you need to find a tradesperson to get your job done, please try our local search below,
or if you are doing it yourself you can find suppliers local to you.
Select the supplier or trade you require, enter your location to begin your search.
Please select a service and enter a location to continue...
Are you a trade or supplier? You can create your listing free at DIYnot Local