Switch
I think they use a timer/module of some sort, maybe the measure current draw from start to stop, don't know for sure but a wiring diagram will be much help to you if that's the route your taking, I got a toggle under my power mirror switch to control my heated mirrors, simple and effective.