Update powerwall.sh

This commit is contained in:
2023-11-07 08:04:49 -06:00
parent cadfae9523
commit 2137916699

View File

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