diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index bde9022c..17ee60d8 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -77,8 +77,8 @@ 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 ServerRoomTH)" || tastemp="" - echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}" + [ "${SENSOR}" == "ServerRoomTH" ] && tastemp=" - $(GET_TASMOTA_INFO 'ServerRoomTH')" || tastemp="" + echo -e "\r\033[K${idsCL[White]}${idsST[Bold]}${SENSOR}${idsST[Reset]}${spc}${idsCL[Default]}: ${reading}${tastemp}" echo fi fi