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

PaulS:

  pinMode(LDRPin,     INPUT);

Analog pins are input only. So, pinMode affects digital pins only.

No, analog pins are usuable with digitalWrite() and pinMode() - but with different pin numbers (use the aliases A0, A1 etc).

This call is not necessary.

Pins are set to INPUT at power up and reset, but adding the call documents the pin use (and that it is used), so is usually good style.