I'm going to assume that the switch that's getting warm is the dimmer. Even when a dimmer is working correctly it gets warm and that's just the electronic parts of it. The face of a dimmer is actually a heat sink to help remove excess heat.
If you swap out the dimmer you will likely find your problem is resolved. Remember to de-energize the circuit by turning off the breaker before working on it.
If in any doubt, consult a qualified electrician.
Be aware that a dimmer for lights does NOT work for fans (though it may sometimes appear to work, you can end up with noise, problems such as the light attached to the fan not working, the dimmer getting overheated, etc). So even though it might seem to work at first, you'll have problems, and it's against code to put the wrong kind of dimmer there. You can purchase a dimmer which is rated for ceiling fans at Home Depot or Lowes, but they are more expensive than light switch dimmers.
Of course, if there is a single on/off switch at the wall which controls the fan and its light, then you might be better off buying a remote control unit to install in the fan - it will allow you to dim the fan and light separately (and safely). Or purchase a new fan with a remote... ceiling fans are cheap enough now that if yours is old enough, it might be a nice time for an update.
How do you get 1000000 robux for free?
What is pokediger1s password on roblox?
What is Louis Tomlinson's IQ?
How many people signed the Declaration of Independence on July 4 1776?
Which way should you set your ceiling fan to turn - in the summer and in the winter?
How many kids did Alexander Hamilton have?
Does jimmy and Michelle capps have any children together?
What is modal fabric??
What were George Washingtons false teeth made from?
Who was Yale University named after?
What determines whether you are left or right handed?
What would you do if the internet was suddenly gone?
What is the longest plate appearance in MLB history?
What is the official name of the Statue of Liberty?
Why can't we remember our dreams?
Which of Congress's powers is implied through the necessary and proper clause?
Which 2 London Underground stations have no letters in common with breakfast?
Is child singer Kim Sol Mae dead?
What is the national local and organisational agreed ways of working for advance care planning?
Where is elisa boyer today?
Accountancy is necessary while auditing is a luxury comment?
Why was James Cagney estranged from his children?
Why a variable-pitch rack and pinion system is sometimes used?