     WebServer.listener();
   }
 
+  /* Listens for switch events */
   Switch.listener();
   ExternalSwitch.listener();
 

  if (Device.configuration.isSwitch[0]) {
    Switch.begin(0);
  }

  if (Device.configuration.isSwitch[1]) {
    ExternalSwitch.begin(1);
  }

  Serial.begin(115200);
  delay(10);

  /* Turn off publishing information to Serial */
  Serial.swap();

  /* Checking if the device is launched for a first time. If so it sets up
   * the device (EEPROM) */
  if (Device.isFirstTimeLaunch()) {
    Device.setDevice();
  }
