Update powerwall.sh

This commit is contained in:
2024-02-10 18:22:43 -06:00
parent 7292daa0ac
commit d2b1593cde

View File

@@ -748,14 +748,14 @@ DOWNLIST(){
echo -e "${idsCL[LightGreen]}Current List of Sensors/Devices Down...${idsCL[Default]}"
DIVIDER false yellow ${dlen}
if [ "${1}" == "report" ]; then
echo -e "${idsCL[Yellow]}[Type] [Sensor_Name] [Sensor_Address] [Down_Time]${idsCL[Default]}"
echo -e "${idsCL[Yellow]}[Type] [Sensor_Name] [Sensor_Address] [Down_Time]${idsCL[Default]}"
else
echo -e "${idsCL[Yellow]} [Type] [Sensor_Name] [Sensor_Address] [Notifications]${idsCL[Default]}"
echo -e "${idsCL[Yellow]} [Type] [Sensor_Name] [Sensor_Address] [Notifications]${idsCL[Default]}"
fi
DIVIDER false yellow ${dlen}
until [ "${choice^^}" = "E" ]; do
cw=23; cw1=11; cw2=20; is=1;
cw=23; cw1=12; cw2=20; is=1;
for downitem in ${DOWNLIST[@]}; do
ditem=${downitem##*/}; ditem=${ditem//.down}
if [ "${PW_SENSOR_TYPE[${ditem}]}" == "esxi" ]; then