3 wire solenoid wiring help

Sounds like you may have an issue with it. Try putting ground to yellow at same time I don’t like the design. It’s possible it’s a depletion mode PFET type. Not sure. There’s no data sheet on some of these Chinese stuff.