diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 72e09eaf..a9535706 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -109,6 +109,7 @@ CHECKTEMP(){ [ ${DETAILS} -eq 0 ] && [ "${last_sensor%%-*}" == "${SENSOR%%-*}" ] && [ "${last_sensor}" != "Offsite-ServerRoom" ] && [ "${last_sensor}" != "Powerwall-Switch" ] && echo -en "\033[1A" c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR_DESC}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR_DESC}${idsST[Reset]}${spc}${idsCL[Default]}: ${idsCL[Yellow]}Pulling data ... " + sleep 2s if [ ! -f ${PW_TMPFOLDER}/${SENSOR}.down ]; then IFS=: read -r temp_f temp_h <<< $(CHECKTEMPSENSOR ${SENSOR}); unset IFS if [ "${temp_f}" != "timeout" ] && [ "${temp_f}" != "offline" ]; then @@ -169,7 +170,6 @@ CHECKTEMP(){ lclr="${idsCL[Yellow]}" lmd="" echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR_DESC}${idsST[Reset]}${spc}${idsCL[Default]}: ${idsCL[Yellow]}Sensor Offline " - # echo -en "${idsCL[Yellow]}Sensor Offline " fi echo -en "${idsCL[Default]}"