Update powerwall.sh

This commit is contained in:
2023-08-14 23:29:38 -05:00
parent a9fc9c9fdd
commit 9aef3be121

View File

@@ -213,7 +213,7 @@ CHECKTEMP_SERVICE(){
echo ${PW_TEMP_THRESHOLDS[${SENSOR}]} | cut -d',' -f 3 | read temp_crit_sys
fi
echo "HERE: ${SENSOR} - ${temp_f} - ${temp_warn} - ${temp_crit}"
# echo "HERE: ${SENSOR} - ${temp_f} - ${temp_warn} - ${temp_crit}"
if [ "${last_temp[${SENSOR}]}" != "" ]; then
temp_diff=`expr ${last_temp[${SENSOR}]%.*} - ${temp_f%.*}`