Update powerwall.sh
This commit is contained in:
@@ -766,7 +766,7 @@ CHECKPOWER(){
|
||||
HOST_AMPS=`echo "scale=1; ${PS1}+${PS2}" | bc`
|
||||
[[ "${HOST_WATTS}" = *"Timeout"* ]] && HOST_WATTS_disp="${idsCL[LightRed]}Host Offline" || HOST_WATTS_disp="${idsCL[Green]}${HOST_AMPS}'amps - `IDS_NUMBER_FORMAT ${HOST_WATTS}`'watts"
|
||||
elif [ "${HOST_WATTS}" == "0" ]; then
|
||||
HOST_WATTS_disp="${idsCL[LightRed]}Host not capable"
|
||||
HOST_WATTS_disp="${idsCL[Yellow]}Host PSU not capable"
|
||||
else
|
||||
HOST_WATTS_disp="${idsCL[LightRed]}Could not pull data"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user