Update powerwall.sh

This commit is contained in:
voltron committed 2023-11-29 22:03:38 -06:00
1 parent 54f7115918
commit 376a6565fe
1 file changed
+1 -1
+1 -1
View File
@@ -628,7 +628,7 @@ CHECKPOWER(){
echo -e "${idsCL[White]}Total Amps ${idsCL[Default]}: ${idsCL[Green]}${SVRRM_AMP}'amps${idsCL[Default]}" echo -e "${idsCL[White]}Total Amps ${idsCL[Default]}: ${idsCL[Green]}${SVRRM_AMP}'amps${idsCL[Default]}"
if [ "${avgdays}" != "" ]; then if [ "${avgdays}" != "" ]; then
average=$(AVERAGEPOWER ${PW_POWERSENSOR_ID['total']} ${avgdays}) 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 else
average_disp="" average_disp=""
fi fi