Hi, heater s-type 2003 3lt

s-type 2003 3lt
i had problems with the heater and found that the CCM had a burned out track, i replaced the damaged track and every thing works fine.
however, now, after locking the car and walking away, the heater fan, after 4.5 minutes, turns its self on, it is supposed to do this apparently, but it dose not turn its self off and i end up with a flat battery.
i am looking for a wiring diagram of the CCM or advice on how to fix it.