Update powerwall.sh

This commit is contained in:
2023-10-31 20:31:26 -05:00
parent edd7e8dd10
commit 5332cbc750

View File

@@ -505,7 +505,9 @@ DAILYTEMP(){
}
GETHOSTPOWER(){
if [ "$(CHECK_HOST ${PW_HOST_ADDRESSES[${PW_iDRACHOST_SHORTNAMES[$1]}]})" != "false" ]; then
hostip=${PW_iDRACHOST_SHORTNAMES[${1}]}
hostip=${PW_HOST_ADDRESSES[${hostip}]}
if [ "$(CHECK_HOST ${hostip})" != "false" ]; then
if [ "${1}" == "10.10.2.26" ]; then
temp=0
else