Hi
I have a bathroom extractor fan. Its works by a humidistat, a timer , a pull cord switch on the fan (when pulled comes on for the duration of the timer) and a on/off pull switch by the door.
Currently it is wired from the lighting circuit. It has a live and neutral from the lighting...