Connected four lights from main supply with pull cord but can't switch off lights
Connect all white wires together and black to black. Also your green is ground. This connects too your outlet box. It has a long green connection wire that comes with the paddle fan. Good luck.