add rcswitch support