Update powerwall.sh
This commit is contained in:
1 parent
236192c3d3
commit
41da2e591c
1 file changed
+1
-1
+1
-1
@@ -154,7 +154,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}"
|
||||
|
||||
Reference in new issue
Block a user