Wiring is not fully described: Location of hot wire and neutral wire from breaker box are unknown.
If Hot wire arrives in ceiling box first, the switch box will not have white neutral wires that are twisted together and covered with wire nut. Neutrals will be in ceiling box.
What is known: You are replacing single pole switch attached to one 14-2 wire going to light.
You are replacing light with a fan-light and replacing switch with a 3-pole TM8111 switch.
You have replaced 14-2 wire with 12-3 wire.
TM8111 wiring shows following link:
http://waterheatertimer.org/images/TM8111-switch-wiring-500.jpgFan pull-chain wiring shows following link:
http://waterheatertimer.org/images/Fan-motor-1-344.jpgAssume neutrals in ceiling box.
Assume Hot wire in ceiling box: Connect 12-3 black wire to black Hot wire. Connect 12-3 white wire to black wire on light. Connect 12-3 red to red wire on fan.
White neutral from fan and white neutral form light connect to other white neutral wires and covered with wire nut.
Wiring at switch:
Black Hot wire from ceiling box connects to A COM terminal.
White wire to ceiling light connects to A SP2
Red wire to fan connects to A SP1