From c4875402017c08d02e1aa3640db3a5dcfd85185c Mon Sep 17 00:00:00 2001 From: Christopher Tremblay Date: Thu, 5 Nov 2020 02:16:16 -0800 Subject: [PATCH] Bug fix: Incorrect JSON output for EZO FLO There was a copy/paste mistake in the EZO FLO implementation that this fixes. --- tasmota/xsns_78_ezoflo.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_78_ezoflo.ino b/tasmota/xsns_78_ezoflo.ino index 214069001..31cb7c082 100644 --- a/tasmota/xsns_78_ezoflo.ino +++ b/tasmota/xsns_78_ezoflo.ino @@ -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();