   }
   // If you get here you have connected to WiFi
   nextionSetAttr("p[0].b[1].txt", "\"WiFi Connected:\\r" + WiFi.localIP().toString() + "\"");
-  debugPrintln(String(F("WIFI: Connected succesfully and assigned IP: ")) + WiFi.localIP().toString());
+  debugPrintln(String(F("WIFI: Connected successfully and assigned IP: ")) + WiFi.localIP().toString());
   if (nextionActivePage)
   {
     nextionSendCmd("page " + String(nextionActivePage));

      String mqttButtonTopic = mqttStateTopic + "/p[" + nextionPage + "].b[" + nextionButtonID + "]";
      debugPrintln(String(F("MQTT OUT: '")) + mqttButtonTopic + "' : 'OFF'");
      mqttClient.publish(mqttButtonTopic, "OFF");
      // Burger King Hobbies is up to something with these two lines below, not sure what exactly.
      //      String mqttButtonJSONEvent = String(F("{\"event\":\"p[")) + String(nextionPage) + String(F("].b[")) + String(nextionButtonID) + String(F("]\", \"value\":\"OFF\"}"));
      //      mqttClient.publish(mqttStateJSONTopic, mqttButtonJSONEvent);
      //
      // Now see if this object has a .val that might have been updated.
      // works for sliders, two-state buttons, etc, throws a 0x1A error for normal buttons
      // which we'll catch and ignore


  if (mdnsEnabled)
  { // Setup mDNS service discovery if enabled
    // hMDNSService = MDNS.addService(haspNode, "http", "tcp", 80);
    // if (debugTelnetEnabled)
    // {
    //   MDNS.addService(haspNode, "telnet", "tcp", 23);
    // }
    // MDNS.addServiceTxt(hMDNSService, "app_name", "HASwitchPlate");
    // MDNS.addServiceTxt(hMDNSService, "app_version", String(haspVersion).c_str());    
    // MDNS.update();
  }
  
  if ((configPassword[0] != '\0') && (configUser[0] != '\0'))
