Update powerwall.sh

This commit is contained in:
2023-11-29 22:03:38 -06:00
parent 54f7115918
commit 376a6565fe

View File

@@ -628,7 +628,7 @@ CHECKPOWER(){
echo -e "${idsCL[White]}Total Amps ${idsCL[Default]}: ${idsCL[Green]}${SVRRM_AMP}'amps${idsCL[Default]}"
if [ "${avgdays}" != "" ]; then
average=$(AVERAGEPOWER ${PW_POWERSENSOR_ID['total']} ${avgdays})
average_disp="${idsCL[LightYellow]} `printf "%'.2f\n" ${average}`'watts"
average_disp="${idsCL[LightYellow]} `printf "%'.2f\n" ${average}`'watts"
else
average_disp=""
fi