Update powerwall.sh

This commit is contained in:
2024-04-04 17:30:03 -05:00
parent 9a6f308770
commit 62ef45906f

View File

@@ -760,7 +760,7 @@ DOWNLIST(){
DIVIDER false yellow ${dlen} DIVIDER false yellow ${dlen}
until [ "${choice^^}" = "E" ]; do until [ "${choice^^}" = "E" ]; do
cw=22; cw1=12; cw2=20; is=1; cw=26; cw1=12; cw2=20; is=1;
for downitem in ${DOWNLIST[@]}; do for downitem in ${DOWNLIST[@]}; do
ditem=${downitem##*/}; ditem=${ditem//.down} ditem=${downitem##*/}; ditem=${ditem//.down}
if [ "${PW_SENSOR_TYPE[${ditem}]}" == "esxi" ]; then if [ "${PW_SENSOR_TYPE[${ditem}]}" == "esxi" ]; then