From f276742921b19137267ce5cf8b0df77053e4cb6b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 23 Oct 2023 09:00:14 -0500 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index ed80ebb0..915791cd 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -155,7 +155,7 @@ AVERAGETEMP(){ if [ "${PW_SENSOR_TYPE[${sensorid}]}" == "esxi" ]; then entityid=($(${mysql_conn} -e "SELECT id FROM servermonitor.entities WHERE BINARY name='${3}' AND sensorid='${sensorid}'")) entityid=${entityid[1]} - # echo "HERE: ${3} - ${entityid}" + echo "HERE: ${3} - ${entityid}" WHERE="sensorid=${sensorid} AND entity=${entityid}" else WHERE="sensorid=${sensorid}"