diff --git a/powerwall.sh b/powerwall.sh index ab2c4d50..dee08660 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -25,7 +25,7 @@ CHECKTEMP(){ fi } -CHECKTEMPSENSOR()}{ +CHECKTEMPSENSOR(){ mqtt_message=`${mqtt_conn} -t tele/${1}/SENSOR -C 1` echo $mqtt_message | cut -d':' -f 6 | cut -d',' -f 1 | read temp_c if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then