From 2321631a210ee45bc3d0dd4bbe53c23c40170e00 Mon Sep 17 00:00:00 2001 From: Matthias Prinke <83612361+matthias-bs@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:38:18 +0200 Subject: [PATCH] Update BresserWeatherSensorMQTTWifiMgr.ino --- .../BresserWeatherSensorMQTTWifiMgr.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/BresserWeatherSensorMQTTWifiMgr/BresserWeatherSensorMQTTWifiMgr.ino b/examples/BresserWeatherSensorMQTTWifiMgr/BresserWeatherSensorMQTTWifiMgr.ino index 7ed787ec..9366bd98 100644 --- a/examples/BresserWeatherSensorMQTTWifiMgr/BresserWeatherSensorMQTTWifiMgr.ino +++ b/examples/BresserWeatherSensorMQTTWifiMgr/BresserWeatherSensorMQTTWifiMgr.ino @@ -647,7 +647,7 @@ void publishWeatherdata(bool complete) } } if (weatherSensor.sensor[i].uv_ok || complete) { - mqtt_payload += String(",\"uv\":") + JSON_FLOAT(String(weatherSensor.sensor[i].uv, 1); + mqtt_payload += String(",\"uv\":") + JSON_FLOAT(String(weatherSensor.sensor[i].uv, 1)); } if (weatherSensor.sensor[i].light_ok || complete) { mqtt_payload += String(",\"light_klx\":") + JSON_FLOAT(String(weatherSensor.sensor[i].light_klx, 1));