Update powerwall.sh

This commit is contained in:
2023-11-07 09:38:21 -06:00
parent 891e691fe5
commit 26275c43cc

View File

@@ -16,6 +16,7 @@ VERBOSE=false
CHECKTEMP(){ CHECKTEMP(){
echo "${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10}"
start=`date +%s` start=`date +%s`
cw=25; cw=25;
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
@@ -26,6 +27,7 @@ CHECKTEMP(){
esac esac
shift 1 shift 1
done done
echo "$avgdays - $search"
echo echo
if [ "${avgdays}" != "" ]; then if [ "${avgdays}" != "" ]; then
[ ${avgdays} -lt 10 ] && avgdays_disp=" ${avgdays}" || avgdays_disp=${avgdays} [ ${avgdays} -lt 10 ] && avgdays_disp=" ${avgdays}" || avgdays_disp=${avgdays}