Update powerwall.sh
This commit is contained in:
1 parent
f9f8ed1ae5
commit
8de4ad7504
1 file changed
+1
-1
+1
-1
@@ -172,7 +172,7 @@ AVERAGETEMP(){
|
|||||||
entityid=($(${mysql_conn} -e "SELECT id FROM servermonitor.entities WHERE BINARY name='${3}' AND sensorid='${sensorid}'"))
|
entityid=($(${mysql_conn} -e "SELECT id FROM servermonitor.entities WHERE BINARY name='${3}' AND sensorid='${sensorid}'"))
|
||||||
entityid=${entityid[1]}
|
entityid=${entityid[1]}
|
||||||
WHERE="sensorid=${sensorid} AND entity=${entityid}"
|
WHERE="sensorid=${sensorid} AND entity=${entityid}"
|
||||||
echo "HERE:${1} - ${2} - ${3} - ${entityid}"
|
# echo "HERE:${1} - ${2} - ${3} - ${entityid}"
|
||||||
else
|
else
|
||||||
WHERE="sensorid=${sensorid}"
|
WHERE="sensorid=${sensorid}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user