Firstly check what is the mains input (primary) of the transformer, make sure there is no connection to the output circuit (the heatsink).
I do not see how the voltage switch works unless it is in the primery which is very unusual.
The led will only pass a very small current, you must have a...