Update powerwall.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user