Your question has two switches and 1 dimmer.
The fan switch works.
The light switch works.
The dimmer does not. What is the dimmer connected to?
Dimmers typically will not control fan speed unless they are rated to do that.
Do you have a 3-way switching where two switches control same light, and you installed the dimmer in place of 3-way switch?
If you need further help, I’m available over the phone at
https://www.6ya.com/expert/gene_9f0ef4df2f9897e7
×