3v Step Down Converters for Sensors

Has anyone used these:

I want to wire some of my sensors to nearby 5v and 12v DC adapters so save on some batteries. The primary motivator right now is my Lowes Iris Keypad that’s eating batteries. I have a HEM very nearby that I could wire to this, stick it in the battery compartment and wire to the terminals inside it.

I know I’ve heard a few folks on here doing similar things with micro switches, but haven’t seen anything about actual step down converters.