Update powerwall.sh

This commit is contained in:
2023-11-07 07:49:19 -06:00
parent ca92a2c5a6
commit 175693b1a4

View File

@@ -1595,13 +1595,13 @@ fi
end=`date +%s`; runtime=$((end-start)) end=`date +%s`; runtime=$((end-start))
echo -e "\nruntime: ${runtime}\n" echo -e "\nruntime: ${runtime}\n"
;; ;;
checktemp) CHECKTEMP ${2};; checktemp) CHECKTEMP ${2} ${3} ${4} ${5} ${6};;
checkpower) CHECKPOWER ${2};; checkpower) CHECKPOWER ${2} ${3} ${4} ${5} ${6};;
check) check)
if [ "${2}" = "power" ]; then if [ "${2}" = "power" ]; then
CHECKPOWER ${3} CHECKPOWER ${3} ${4} ${5} ${6}
elif [ "${2}" = "temp" ]; then elif [ "${2}" = "temp" ]; then
CHECKTEMP ${3} CHECKTEMP ${3} ${4} ${5} ${6}
fi fi
;; ;;
test) CHECKTEMP ${2} ${3};; test) CHECKTEMP ${2} ${3};;