mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 07:17:16 +00:00
Merge pull request #14000 from barbudor/ezoo2_sensor_message
Fix EZOO2 sensor message format
This commit is contained in:
commit
0c032c5608
@ -39,7 +39,7 @@ struct EZOO2 : public EZOStruct {
|
|||||||
dtostrfd(O2, 2, str);
|
dtostrfd(O2, 2, str);
|
||||||
|
|
||||||
if (json) {
|
if (json) {
|
||||||
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_O2 "\":%d}" ), name, str);
|
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_O2 "\":%s}" ), name, str);
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
}else {
|
}else {
|
||||||
WSContentSend_PD(HTTP_SNS_O2, name, str);
|
WSContentSend_PD(HTTP_SNS_O2, name, str);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user