       toggleFan();
     }
   }
-  
+
   // Ensure water heater is on if temperature is at or below heater threshold.
   if (TempF <= heaterThreshold) {
     if (!heaterState) {

      toggleHeater();
    }
  }
  
  // Light based reactions
  // ---------------------


void handleSensorReadings() {
  // Temperature based reactions
  // ---------------------------

  // Ensure fan is on if temperature is at or above fan threshold.
  if (TempF >= fanThreshold) {
    if (!fanState) {
