mirror of https://github.com/arendst/Tasmota.git
fix O2 sensor message format
This commit is contained in:
parent
7465f550d1
commit
6ded581a37
|
@ -39,7 +39,7 @@ struct EZOO2 : public EZOStruct {
|
|||
dtostrfd(O2, 2, str);
|
||||
|
||||
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
|
||||
}else {
|
||||
WSContentSend_PD(HTTP_SNS_O2, name, str);
|
||||
|
|
Loading…
Reference in New Issue