Question about low voltage device

If you have a outlet near the transformer you could wire it to a extension cord and plug the cord into a z-wave outlet. Need a recommendation for a device with dry contact sensor and relay