From a17a62f8229012c1bffb26bda0cdf4971b5d02c7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 26 Dec 2023 21:37:07 -0600 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 14d613e6..25c38164 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -721,10 +721,9 @@ SENDTEMP(){ echo -e "${SENSOR}${spc}No Data" fi - + [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ] && [ "${last_sensor}" != "${SENSOR%%-*}" ] && echo + last_sensor=${SENSOR%%-*} done - [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ] && [ "${last_sensor}" != "${SENSORa%%-*}" ] && echo - last_sensor=${SENSORa%%-*} fi