I changed the outlets and the switches for looks in two rooms. I copied same wiring same position from old to the new outlet, or light switch. Figures, not that hard. Tested - everything, outlets good but the light switch stopped controlling the outlet (the one job it has). So I try with the switch of the wires (red and orange) nothing happens. I switch the wires around (red and orange). The light switch doesn’t work. Then I decide to check my outlet so I open it and decide to change the red and pink on that figuring it might fix the switch, there is a white one looped but I don’t touch that). I try the light switch, still not working, outlet tests “open ground”. I switch back the outlet red and pink to original position and then I change the switch ones and the switch doesn’t work and the outlet is still showing “open ground. I then assume since the only ones are those two between the connected outlets and switches in the room, I decide to switch the what in our inspection tested as reversed hot/neg ... to make it amongst the switch an “open ground” testing one, however, this ones wires are all sorts of colors but red and orange. Images attached. Waiting for ideas and questions. Please help me fix this.