How do the dimmers connect
One of these two outer wiring is connected directly from the switch, which is connected to the ac wire.
Almost all simple dimmers have two outer wiring.I hope my answer will help you
The other one connected to the electrical appliance used, the other one connected to the ac's zero line.