Update powerwall.sh

This commit is contained in:
voltron committed 2023-05-14 21:05:21 -05:00
1 parent 742d5427c1
commit dca9fa7852
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ CHECKTEMPSENSOR(){
elif [ "${SENSOR_TYPE[${1}]}" == "system" ]; then elif [ "${SENSOR_TYPE[${1}]}" == "system" ]; then
temp_c=$(vcgencmd measure_temp) temp_c=$(vcgencmd measure_temp)
temp_c=${test%\'*}; temp_c=${test#*=} temp_c=${test%\'*}; temp_c=${test#*=}
echo "HERE: $temp_c"
fi fi
if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then