fix O2 sensor message format

This commit is contained in:
Barbudor 2021-12-11 09:18:14 +00:00
parent 7465f550d1
commit 6ded581a37
1 changed files with 1 additions and 1 deletions

View File

@ -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);