From 736ac74f538991d73f5075b3ace50e69c1d2b3bb Mon Sep 17 00:00:00 2001 From: Anton ACE Date: Thu, 30 Mar 2023 09:49:48 +0300 Subject: [PATCH] xsns_103_sen5x bugfix (#18297) --- tasmota/tasmota_xsns_sensor/xsns_103_sen5x.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_103_sen5x.ino b/tasmota/tasmota_xsns_sensor/xsns_103_sen5x.ino index 25cb07d37..2682ae815 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_103_sen5x.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_103_sen5x.ino @@ -177,7 +177,7 @@ void SEN5XShow(bool json) { } if (ahum_available) { ResponseAppendTHD(temperature, humidity); - ResponseAppend_P(PSTR(",\"" D_JSON_AHUM "\":%4_f"), abs_humidity); + ResponseAppend_P(PSTR(",\"" D_JSON_AHUM "\":%4_f"), &abs_humidity); } ResponseJsonEnd(); #ifdef USE_WEBSERVER @@ -194,7 +194,7 @@ void SEN5XShow(bool json) { } if (ahum_available) { WSContentSend_THD(types, temperature, humidity); - WSContentSend_PD(HTTP_SNS_F_ABS_HUM, types, 4, abs_humidity); + WSContentSend_PD(HTTP_SNS_F_ABS_HUM, types, 4, &abs_humidity); } #endif }