diff --git a/tasmota/xdrv_02_9_mqtt.ino b/tasmota/xdrv_02_9_mqtt.ino index 78ac582ae..181917fa1 100644 --- a/tasmota/xdrv_02_9_mqtt.ino +++ b/tasmota/xdrv_02_9_mqtt.ino @@ -1883,7 +1883,7 @@ void HandleMqttConfiguration(void) SettingsText(SET_MQTT_HOST), Settings->mqtt_port, #ifdef USE_MQTT_TLS - Mqtt.mqtt_tls ? PSTR(" checked") : "", // SetOption102 - Enable MQTT TLS + Mqtt.mqtt_tls ? PSTR(" checked") : "", // SetOption103 - Enable MQTT TLS #endif // USE_MQTT_TLS Format(str, PSTR(MQTT_CLIENT_ID), sizeof(str)), PSTR(MQTT_CLIENT_ID), SettingsText(SET_MQTT_CLIENT)); WSContentSend_P(HTTP_FORM_MQTT2, @@ -1905,8 +1905,8 @@ void MqttSaveSettings(void) { cmnd += AddWebCommand(PSTR(D_CMND_TOPIC), PSTR("mt"), PSTR("1")); cmnd += AddWebCommand(PSTR(D_CMND_FULLTOPIC), PSTR("mf"), PSTR("1")); #ifdef USE_MQTT_TLS - cmnd += F(";" D_CMND_SO "102 "); - cmnd += Webserver->hasArg(F("b3")); // SetOption102 - Enable MQTT TLS + cmnd += F(";" D_CMND_SO "103 "); + cmnd += Webserver->hasArg(F("b3")); // SetOption103 - Enable MQTT TLS #endif ExecuteWebCommand((char*)cmnd.c_str()); }