Having issues using an LDR and a Potentiomer for my AIr Conditioning System..

  pinMode(LDRPin,     INPUT);

Analog pins are input only. So, pinMode affects digital pins only. This call is not necessary.

You've explained what the code should do. Now, what does it actually do? What is the problem that you need help with?