In order for the light to be controlled by its own switch the wiring between the switch and the fan unit needs a fourth wire a red wire to carry power to the light kit.
Wiring a fan light combo switch.
Connect two of the black.
Connect the two white wires in the switch box together with a wire nut.
Combination light heater and fan units can be incredibly handy in smaller bathrooms and other home areas that lack heating and cooling vents.
Wiring a fan and light to a single switch in this wiring the source is at the switch and 3 wire cable runs from there to the fan and light.
Connect your white wires together and secure with wire nut.
Bathroom exhaust fan heater electrical wiring if the power source is at the wall switch then the commons or neutrals tie together and are not switched.
The source hot wire is spliced to the black fan wire to hardwire it directly to the circuit and to a pigtail connecting the switch.
Usually the hot wire to the fan in a fan light combination kit is black while the blue wire is usually for light.
There are two ways to wire a bath exhaust fan combo with the wiring layout you have described.
Connect the green wire to your household ground wire copper bare wire.
These three in one fixtures work best when wired to a three function switch box allowing for individual control of the unit s functions from a single point.
You either extend the power from the light fixture to the exhaust fan location or extend the power to the wall switch.
If the 12 3 has been installed between the wall switch and the combo unit then because this combo unit has three switched functions then you will need an additional 12 2 cable installed.
Attach the red and black wires from the fan light unit to the top terminal screws on the switches.
Provides control of one ceiling paddle fan and 3 quiet fan speeds provide increased comfort.
Then the white wire is the neutral which is connected to source neutral at the source or with the use of a splice in the switch box.
The control features a small rocker switch to turn the ceiling fan on and off and a slide knob for fan speed control.