Update powerwall.sh

This commit is contained in:
2023-08-14 21:41:04 -05:00
parent 058a1cb015
commit ff28a04332

View File

@@ -95,7 +95,7 @@ CHECKTEMPSENSOR(){
elif [ "${PW_SENSOR_TYPE[${1}]}" == "esxi" ]; then
temp_c=${2}
temp_f=$(bc <<< "scale=2; ${temp_c}*1.8+32")
temp_warn=$(bc <<< "scale=0; ${3}*1.8+32")
temp_warn=$(bc <<< "scale=1; ${3}*1.8+32")
temp_crit=$(bc <<< "scale=0; ${4}*1.8+32")
fi