The switch is held in place by 2 sprung plastic tabs and therefore, whilst the switch pulls upwards out, you first need to press these 2 tabs in. Dyson makes a tool that does just that but you can manage to do it without the tool by sliding a narrow knife blade on both sides of the switch. Once the switch is out, repairing is straight forward.
Phil T-L
May 2010