Update powerwall.sh

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

View File

@@ -753,14 +753,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] [Data_From] [Down_Time]${idsCL[Default]}"
echo -e "${idsCL[Yellow]}[Type] [Sensor_Name] [Data_From] [Down_Time]${idsCL[Default]}"
else
echo -e "${idsCL[Yellow]} [Type] [Sensor_Name] [Data_From] [Down_Time] [Notifications]${idsCL[Default]}"
echo -e "${idsCL[Yellow]} [Type] [Sensor_Name] [Data_From] [Down_Time] [Notifications]${idsCL[Default]}"
fi
DIVIDER false yellow ${dlen}
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
ditem=${downitem##*/}; ditem=${ditem//.down}
if [ "${PW_SENSOR_TYPE[${ditem}]}" == "esxi" ]; then