I am installing under cabinet lights. I like the look of puck lights and I want them hardwired to be controlled but wall switch. Walls are currently opened so I have easy access. I haven't been able to find puck lights designed for this purpose. The ones I've seen at big box stores are designed to pluginto socket and has an attached transformer/ballast. Are there any that are designed to wire into romex and wall switch, it better yet, a dimmer?
I have seen line voltage(120v) undercab lights in the puck style at the big box stores. Now you still will need to install a box and outlet or cut off the plug and wirenut it. Switch that circuit and you should be good. Now I do remember that they looked the same in the package except for the 120v label. I worked at one before in that department. Hope that helps