Thanks for the quick reply! Here’s a picture of the connections.
Both bundles had red and green, so I think those are paired correctly
The new switch had a blue and a clear/white, so I connected the blue to black, and the ‘clear’ to white.
But I’m confused about the explanation for which wires...