diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 6487a63e..14d613e6 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -723,7 +723,8 @@ SENDTEMP(){ fi done - [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ] && echo + [ "${temp_c}" != "null" ] && [ "${temp_c}" != "" ] && [ "${last_sensor}" != "${SENSORa%%-*}" ] && echo + last_sensor=${SENSORa%%-*} fi