Issues with connecting a slideswitch to change between automatic and manual mode for a fan

Please post your latest code so we can see any changes you have made.