diff --git a/tasmota/tasmota_support/support_tasmota.ino b/tasmota/tasmota_support/support_tasmota.ino index 0af57d62f..4816f271c 100644 --- a/tasmota/tasmota_support/support_tasmota.ino +++ b/tasmota/tasmota_support/support_tasmota.ino @@ -1021,6 +1021,7 @@ bool MqttShowSensor(bool call_show_sensor) { GetSensorValues(); +#ifndef FIRMWARE_SAFEBOOT if (TasmotaGlobal.global_update && Settings->flag.mqtt_add_global_info) { // SetOption2 (MQTT) Add global temperature/humidity/pressure info to JSON sensor message if ((TasmotaGlobal.humidity > 0) || !isnan(TasmotaGlobal.temperature_celsius) || (TasmotaGlobal.pressure_hpa != 0)) { uint32_t add_comma = 0; @@ -1055,6 +1056,7 @@ bool MqttShowSensor(bool call_show_sensor) { ResponseJsonEnd(); } } +#endif // FIRMWARE_SAFEBOOT bool json_data_available = (ResponseLength() - json_data_start); MqttAppendSensorUnits();