function onHomepageOpened(e) {
  const card = buildHomePage();

  return {
    action: {
      navigations: [
        {
          pushCard: card
        }
      ]
    }
  };
}
Main entry point for add-on when opened.

@param e - Add-on event context