powerSwitch/rgbLed param checking