IKEA's Trådfri Outlet is great for outlets but its quite large and I found there are places where I needed it where there was not an outlet. The case is as small as I was able to get it where it can tuck nicely into a ceiling light or other small places.
You use it and pair it just as you would a normal IKEA Trådfri outlet it functions just the same.
Cut open the Trådfri outlet as close to the bottom as possible. Once open clip away the wires for the socket and solder wires as shown. Screw together with 3 M3 screws.