From f9d1105fc6f42b4a1e191d598cc4c4eaae992b57 Mon Sep 17 00:00:00 2001 From: Norbert Richter Date: Wed, 9 Mar 2022 17:53:32 +0100 Subject: [PATCH] Change JSON hydro level --- tasmota/xsns_83_neopool.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xsns_83_neopool.ino b/tasmota/xsns_83_neopool.ino index 052c669f3..7e6609f18 100644 --- a/tasmota/xsns_83_neopool.ino +++ b/tasmota/xsns_83_neopool.ino @@ -1380,6 +1380,7 @@ bool NeoPoolIsIonization(void) #define D_NEOPOOL_JSON_FILTRATION_MODE "Mode" #define D_NEOPOOL_JSON_FILTRATION_SPEED "Speed" #define D_NEOPOOL_JSON_HYDROLYSIS "Hydrolysis" +#define D_NEOPOOL_JSON_HYDROLYSIS_LEVEL "Level" #define D_NEOPOOL_JSON_CELL_RUNTIME "Runtime" #define D_NEOPOOL_JSON_CELL_RUNTIME_TOTAL "Total" #define D_NEOPOOL_JSON_CELL_RUNTIME_PART "Part" @@ -1520,7 +1521,7 @@ void NeoPoolShow(bool json) dec = 0; sunit = PSTR("%"); } - ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_HYDROLYSIS "\":{\"" D_JSON_DATA "\":" NEOPOOL_FMT_HIDRO), dec, &fvalue); + ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_HYDROLYSIS "\":{\"" D_NEOPOOL_JSON_HYDROLYSIS_LEVEL "\":" NEOPOOL_FMT_HIDRO), dec, &fvalue); ResponseAppend_P(PSTR(",\"" D_NEOPOOL_JSON_UNIT "\":\"%s\""), sunit); #ifndef NEOPOOL_OPTIMIZE_READINGS