First thing I'd check is if the switch is even connected to any wires. You can probably check this just by removing the face plate.
You already checked the receptacles, but did you check both the top and bottom outlet? Sometimes a switch will only control one part of the outlet. In this case, the metal tab connecting both hot terminals is broken so that the top and bottom outlets can be individually powered (and switched).
The next step is to look at the wiring of the switch. First turn off the circuit breaker and test again with a non-contact tester (if you don't know what the switches do, then it could have more than 1 circuit in the box - just to be safe). Remove the switch and take note of the switch type - is it a single pole switch or 3-way switch? (If its a 3-way switch then the color of the traveler might be helpful in finding what it controls.) Is the line (from the circuit breaker) in this box?
If a visual inspection doesn't give you any clues then you need to trace the circuit. This is usually done with the power off using a circuit tracer:
A telecom probe/tracer can also be used in many cases. You hook the tone generator up to the wires at the switch, and then you use the probe to follow the wires through the wall. With any luck you will find your way to a ceiling or wall box. Depending how badly you want to know, you might need to open the wall (or use a scope) at some point to help trace the wire. More expensive versions of this tool exist that might be needed to find really sneaky wires.
It's not unheard of to find out that a previous owner dry walled over an electrical box, so keep this in mind as a possibility.
And if you just can't sleep at night without know where it goes, you could always x-ray your house as a last resort.
![Xray](https://i.stack.imgur.com/rxXoR.jpg)
(source: tomcomunicacao.com.br)
(The above image is by photographer Nick Veasey. While this photo was stitched together, there are companies that x-ray buildings )
I would strongly encourage you to replace this unit (the Siemens component, not the entire AC) and replace the ends to those electrical wires. Simply put if the rust situation is that terrible I wouldn't be at all surprised if the integrity of the unit is already compromised, i.e. ready to fail you at any time. Your yellow wire is almost certainly why it's not working now, but it's a pain to fix it, and then have to fix it again only a few days/weeks later.
This is not a normal amount of rust; a great deal of humidity is getting to it, more than usual. I'm a Florida resident who had a 12 year old AC unit at one point that had been through a number of hurricanes and tropical storms, and it was only slightly oxidized, no rust. (Though I had to regularly open it for service because for whatever reason ants loved to commit suicide by throwing their bodies in between the electrical contacts)
To fix the rust you'll need to find where it's getting exposed to so much humidity from. Likely a seal or gasket is bad. You can either replace the broken seal/gasket or there are after-market products used as essentially spray on sealants. I recommend fixing it properly and replacing whatever seal or gasket is broken, but in a pinch squirting some sealant into the location that's leaking (with the AC OFF and given enough time to dry) will resolve minor leaks (depending on the severity).
Best Answer
That is an older style UK "unswitched cable outlet", also known as an "unswitched flex outlet". The current style have a cable exit point at the lower edge, not the middle of the faceplate. They are typically rated for 20A.
It is used for permanently-wired electrical-loads such as heating systems (boiler, immersion heater, etc). It is likely some device was removed from inside that cupboard and the cable disconnected. It might be a dedicated circuit with it's own circuit-breaker in your main panel ("consumer unit").