Update powerwall.sh

This commit is contained in:
2023-10-28 14:00:54 -05:00
parent 59727ec615
commit 465f0f398b

View File

@@ -24,7 +24,7 @@ CHECKTEMP(){
DIVIDER . yellow 90
for SENSOR in ${PW_SENSOR_ORD[@]}; do
if [ "${1}" == "" ] || [[ "${SENSOR}" = *"${1}"* ]]; then
if [ "${1}" == "" ] || [[ "${SENSOR}" = *"${1}"* ]] || [ "${1}" == "noavg" ]; then
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" == "esxi" ]; then
vHOSTiDRACIP=${PW_HOST_IDRACS[${SENSOR}]}