diff --git a/powerwall.sh b/powerwall.sh index b1085a82..10a27c61 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -28,7 +28,7 @@ CHECKTEMP(){ for SENSOR in ${!SENSOR_ID[@]}; do if [[ "${SENSOR}" = *"${1}"* ]]; then - echo -en "${idsCL[LightYellow]}Pulling '${SENSOR}' Data...${spc}${idsCL[Default]}: ${reading}" + echo -en "${idsCL[LightYellow]}Pulling '${SENSOR}' Data..." reading=$(CHECKTEMPSENSOR ${SENSOR}) c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -e "\r\033[K${idsCL[LightCyan]}${SENSOR}${spc}${idsCL[Default]}: ${reading}" @@ -37,7 +37,7 @@ CHECKTEMP(){ else for SENSOR in ${!SENSOR_ID[@]}; do - echo -en "${idsCL[LightYellow]}Pulling '${SENSOR}' Data...${spc}${idsCL[Default]}: ${reading}" + echo -en "${idsCL[LightYellow]}Pulling '${SENSOR}' Data..." reading=$(CHECKTEMPSENSOR ${SENSOR}) c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -e "\r\033[K${idsCL[LightCyan]}${SENSOR}${spc}${idsCL[Default]}: ${reading}"