 
 //############################################################################
 //
-// Ethernet
+//                                Ethernet
 //
 //############################################################################
 

      #endif
      
      // Wait before retrying instead of clobbering the server.
      delay(2000);
    }
  }
}

  g_zone3_bypass_activated = digitalRead(BYPASS_ZONE3_PIN);

  if (g_zone1_bypass_activated == HIGH) {
    // Prevent bouncing when performing actions following a read.
    if (millis() - DEBOUNCE_TIME >= DEBOUNCE_DELAY) {
      if (g_zone1_status == false) {
        #ifdef DEBUG
          Serial.println("INFO:  Bypass 1 state switched from OFF to ON.");
        #endif
        g_zone1_status = true;
        setZone1Status();
        publishZone1Status();
      } else if (g_zone1_status == true) {
        #ifdef DEBUG
          Serial.println("INFO:  Bypass 1 state switched from ON to OFF");
        #endif
        g_zone1_status = false;
        setZone1Status();
        publishZone1Status();
      } else {
        #ifdef DEBUG
          Serial.println("INFO:  Requested bypass 1 state matches current state.");
        #endif
      }
      // Set the last time of button press.
      DEBOUNCE_TIME = millis();
    }
  } else if (g_zone2_bypass_activated == HIGH) {
    // Prevent bouncing when performing actions following a read.
    if (millis() - DEBOUNCE_TIME >= DEBOUNCE_DELAY) {
      if (g_zone2_status == false) {
        #ifdef DEBUG
          Serial.println("INFO:  Bypass 2 state switched from OFF to ON.");
        #endif
        g_zone2_status = true;
        setZone2Status();
        publishZone2Status();
      } else if (g_zone2_status == true) {
        #ifdef DEBUG
          Serial.println("INFO:  Bypass 2 state switched from ON to OFF");
        #endif
        g_zone2_status = false;
        setZone2Status();
        publishZone2Status();
      } else {
        #ifdef DEBUG
          Serial.println("INFO:  Requested bypass 2 state matches current state.");
        #endif
      }
      // Set the last time of button press.
      DEBOUNCE_TIME = millis();
    }
  } else if (g_zone3_bypass_activated == HIGH) {
    // Prevent bouncing when performing actions following a read.
    if (millis() - DEBOUNCE_TIME >= DEBOUNCE_DELAY) {
      if (g_zone3_status == false) {
        #ifdef DEBUG
          Serial.println("INFO:  Bypass 3 state switched from OFF to ON.");
        #endif
        g_zone3_status = true;
        setZone3Status();
        publishZone3Status();
      } else if (g_zone3_status == true) {
        #ifdef DEBUG
          Serial.println("INFO:  Bypass 3 state switched from ON to OFF");
        #endif
        g_zone3_status = false;
        setZone3Status();
        publishZone3Status();
      } else {
        #ifdef DEBUG
          Serial.println("INFO:  Requested bypass 3 state matches current state.");
        #endif
      }
      // Set the last time of button press.
      DEBOUNCE_TIME = millis();
    }
  }
}
