So the wires to my old switch went into the back of the switch and were sealed off. I'm posting pictures in this order: old switch of wires going in, the wires I need to connect now (red, blue, green, black, yellow, white, and brown), a picture of the switch I'm wanting to attach wires to...