Update powerwall.sh

This commit is contained in:
2023-05-14 21:05:21 -05:00
parent 742d5427c1
commit dca9fa7852

View File

@@ -51,7 +51,7 @@ CHECKTEMPSENSOR(){
elif [ "${SENSOR_TYPE[${1}]}" == "system" ]; then
temp_c=$(vcgencmd measure_temp)
temp_c=${test%\'*}; temp_c=${test#*=}
echo "HERE: $temp_c"
fi
if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then