Since you need to combine it with a level sensor / float switch, like Bruce referenced above, instead of controlling the solenoid with a Z-wave outlet, you might want something like a Zooz multi-relay, then you can manage both the input and the output from a single device.