I just finished demolishing my kitchen. I noticed that the under-cabinet lighting cables are poking out the wall right at the bottom edge of the wall cabinets. To the untrained eye, this looks like a ugly hack job. How should they be anchored to the wall to follow regulation and also not just fall back inside the wall? I feel like if I put a standard plate there, it'll be visible behind the lighting. Usually under-cabinet lighting is very thin.
Here is what I would do - install a junction / receptacle box in the wall - run your wires through it - install a strain relief wire Tie on the wires to keep them from exiting the receptacle box or use the built in relief. That will keep your wires from falling back into the wall.I would then place my piece of dry wall over that receptacle box to make it look nice again - so all I have is my wires sticking out.
You could manage to hide the wires by coming through your cabinet just above the bottom seam of the cabinet and then immediately out the bottom to your under cabinet lights. or a simple notch in the bottom cabinet lip to feed your lights.
Those wires being as they are and also in the wall like that - perhaps even go to one of those switches are PROBABLY 120VAC - PROBABLY..