Headache about migrating dimmable halogen spots to LED spots

I was talking about the switch wires configuration when replacing Niko with Shelly. Not the type of load, but if you use dimmable transformer/driver it would work with 12v led dimmable lamps.