Merge pull request #9745 from tichris0/development

Bug fix: Incorrect JSON output for EZO FLO
This commit is contained in:
Theo Arends
2020-11-05 11:35:09 +01:00
committed by GitHub

View File

@@ -53,7 +53,7 @@ struct EZOFLO : public EZOStruct {
if (json) {
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_VOLUME "\":%s"), name, volume);
if (hasFlow) {
ResponseAppend_P(PSTR(",\"" D_JSON_FLOWRATE "\":%s"), name, rate);
ResponseAppend_P(PSTR(",\"" D_JSON_FLOWRATE "\":%s"), rate);
}
ResponseJsonEnd();