Update temp.inc.sh

This commit is contained in:
2023-12-14 16:10:01 -06:00
parent e731398dca
commit 6ffc6c005c

View File

@@ -77,6 +77,7 @@ CHECKTEMP(){
echo -en "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${idsCL[Yellow]}"
[ "${avgdays}" != "noavg" ] && echo -en "Pulling data and calculating ${avgdays} Day average ... " || echo -en "Pulling data ... "
reading=$(CHECKTEMPSENSOR ${SENSOR} . . . . ${avgdays})
[ "${SENSOR}" == "ServerRoomTH" ] && tastemp=" - $(GET_TASMOTA_INFO)" || tastemp=""
echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}"
echo
fi