3-way Switch Wiring

I get confused every time I work on a 3-way switch. After I remember to make a diagram to lay out all of the wires I have it makes sense. This was for a Wi-Fi connected switch and “remote” pairing I installed yesterday.