So I have undercabinet lights for my kitchen. They are 120v led in a plastic case and no place to put in a romex, just a 120v cord. I'd like to hardwire these in so I don't Have an ugly wire hanging down, plugged in.
I thought about running the extension cord through the wall and hardwiring into the nearby receptacle box but that has got to be against code. Then I thought about running romex through the wall and using wire nuts to connect the two, but I imagine then I'd need a box under the cabinet. Any ideas?