Update powerwall.sh

This commit is contained in:
2023-08-14 19:20:37 -05:00
parent b899f06558
commit d35dee7224

View File

@@ -93,8 +93,9 @@ CHECKTEMPSENSOR(){
fi
elif [ "${PW_SENSOR_TYPE[${1}]}" == "esxi" ]; then
temp_c=${2}
temp_warn=${3}
temp_crit=${4}
temp_f=`echo "scale=2; ${temp_c}*1.8 + 32" | bc`
temp_warn=`echo "scale=2; ${3}*1.8 + 32" | bc`
temp_crit=`echo "scale=2; ${4}*1.8 + 32" | bc`
fi