Control A Switch with RF if a solenoid valves is triggered.

what kind of switch?