Update powerwall.sh

This commit is contained in:
2024-02-10 18:21:07 -06:00
parent 8e4f1c4def
commit 7292daa0ac

View File

@@ -724,7 +724,6 @@ CONFSYNC(){
}
DOWNLIST(){
declare -i cw; declare -i spc1; declare -i c
DOWN_LIST=`find ${PW_TMPFOLDER}/ -iname "*.down"`
IFS=$'\n'
read -rd '' -a DOWN_LIST <<<"${DOWN_LIST}"
@@ -756,7 +755,7 @@ DOWNLIST(){
DIVIDER false yellow ${dlen}
until [ "${choice^^}" = "E" ]; do
cw=35; cw1=11; cw2=20; is=1;
cw=23; cw1=11; cw2=20; is=1;
for downitem in ${DOWNLIST[@]}; do
ditem=${downitem##*/}; ditem=${ditem//.down}
if [ "${PW_SENSOR_TYPE[${ditem}]}" == "esxi" ]; then