Your diagram is correct. I can’t tell if your wiring correctly matches the diagram.
If you disconnect and cap off the green wire - disconnecting the switches - can you include the relay using the program button and then operate the relay via Z-Wave/Vera? This will tell you if the problem is your module, or your switch wiring.