the dark blue cord connects to the unit's housing, so that is the ground.
Both power cords teal grounds should then attach to blue ground wire in the first picture then?
I am left with the power cords black and white wire, a braided white wire attached to the switch, and a straight white...