I replaced the of/off switch to the bedroom ceiling fan with this. Now if I don't want the fan running all night, I just click the number of hours for it to run.
ALso folks, this thing has a brother scaled in 5-10-15-30 minutes. After being pleased with the ceiling fan switch I replaced the bathroom vent fan switches with these.. After a shower, I just click however many minutes I want the vent fan to run to remove the steam and leave. Don't have to remember to go back turn it off which is important if the vent fan is pumping out your air conditioned or heated air.
These switches are white, so if you're installing them in an almond colored switch plate (and maybe in a two switch plate (light/fan), for $3-4 at the local big box you can replace the almond colored switches and plates with white ones to make everything match.
These things are much cheaper at Amazon than they are at big boxes, especially if you have Prime.