I used a raised, single device cover for the 4-inch box and was able to place the inductive switch in a location where I'd be able to get to it for adjustments or service just by removing the outlet.
All images copyright Kevin A. Spousta. Unauthorized use is prohibited.