From 5cfd54aa1ccf814326375f859c0222563cb5ae42 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 1 Jan 2024 10:57:54 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 3cba4a7d..c2ecf3df 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -266,6 +266,7 @@ AVERAGETEMP(){ echo ${average} # echo ${logsfound} } +declare -gA last_temp CHECKTEMP_SERVICE(){ cw=20 @@ -310,7 +311,6 @@ CHECKTEMP_SERVICE(){ } CHECKTEMP_SERVICE_RUNSENSOR(){ declare -gA last_temp - declare -p last_temp SENSORa=${1} logtemp=${PW_LOGFOLDER}/log-temp-${SENSORa} [ ! -f ${logtemp} ] && touch ${logtemp}