Put Switch In Attic

I want the fan to be controlled by a thermostat in the attic but i want the ability to bypass or override the fan from within my house.
Put switch in attic. Wiring for an attic light and switch hi i am trying to install a wall switch in my attic. Place the light switch near the entry for convenience and use a switch with a warning light that reminds you when the light is on. Loading ubiquiti community ubiquiti community. I would need to run an extension cord around a corner from that outlet in the attic to put it where i want to put it.
This is also a hard wired fixture but one operated simply by a pull string. Instead of adding just a light. I am putting up some ip cameras and have limited network runs to the attic so i will likely need to put a switch up there. I want to install a fan in my attic.
What i m wanting to do is keep a poe switch in the attic. Fan is controlled by thermostat. It currently has one pull string light that has power running in it and out to a wall socket. I would like to add a second light and a wall switch for both lights.
It can get about 110 in the summer or more i would imagine the attic is likely the same. Less than 30 i needed a light desperately so i could see while moving around in the attic. Ideally i would like to have a two state switch in the house. If wiring a wall switch is too much trouble install a pull string light fixture preferably near the entry.
There is a power outlet in the attic on the wall on a stud near that door. This is a video on how i installed an attic light in the house attic space. Through a room upstairs there is a door that opens and you can step out into the attic.