mirror of https://github.com/arendst/Tasmota.git
Bug fix: Incorrect JSON output for EZO FLO
There was a copy/paste mistake in the EZO FLO implementation that this fixes.
This commit is contained in:
parent
e2a094802b
commit
c487540201
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue