I just bought a self dipping mirror for a Fiat 500. Same mirror in the 2011 model as the 2017 one. I just checked the mount was the same in the pictures. The mirror in a 500L is not the same. Used the ign controlled supply to the roof switch and the earth connection. If you want it to clear in reverse then you need to run a wire from reverse switch to the mirror. I didn't bother, if it's not clear when reversing , turn it off on the switch!
On my car 2017 Dark Blue/Dark Green was an ignition controlled 12V and Black was earth. On the mirror the wire in the centre of the plug is the earth, the white wire is the reverse connection if I remember correctly. It's easy to test -ve to centre wire and apply 12V to the other ones in turn, one will do nothing when you shine a torch in the front sensor, the other will dim the mirror, that's the one you want.