mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
xsns_103_sen5x bugfix (#18297)
This commit is contained in:
parent
3cbe3dbf8b
commit
736ac74f53
@ -177,7 +177,7 @@ void SEN5XShow(bool json) {
|
|||||||
}
|
}
|
||||||
if (ahum_available) {
|
if (ahum_available) {
|
||||||
ResponseAppendTHD(temperature, humidity);
|
ResponseAppendTHD(temperature, humidity);
|
||||||
ResponseAppend_P(PSTR(",\"" D_JSON_AHUM "\":%4_f"), abs_humidity);
|
ResponseAppend_P(PSTR(",\"" D_JSON_AHUM "\":%4_f"), &abs_humidity);
|
||||||
}
|
}
|
||||||
ResponseJsonEnd();
|
ResponseJsonEnd();
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
@ -194,7 +194,7 @@ void SEN5XShow(bool json) {
|
|||||||
}
|
}
|
||||||
if (ahum_available) {
|
if (ahum_available) {
|
||||||
WSContentSend_THD(types, temperature, humidity);
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user