Skip to content

hudsonbrendon/ha_epic_games

Repository files navigation

hacs_badge BuyMeCoffee hacs_badge

Epic Games Custom Integration Home Assistant

Custom integration for the Home Assistant to obtain information present in epicgames.com.

Install

Installation via HACS

Have HACS installed, this will allow you to update easily.

Adding Epic Games to HACS can be using this button:

image

If the button above doesn't work, add https://github.com/hudsonbrendon/ha_epic_games as a custom repository of type Integration in HACS.

  • Click Install on the Epic Games integration.
  • Restart the Home Assistant.

Manual installation

  • Copy epic_games folder from latest release to your <config dir>/custom_components/ directory.
  • Restart the Home Assistant.

Configuration

Adding Epic Games to your Home Assistant instance can be done via the UI using this button:

image

Manual Configuration

If the button above doesn't work, you can also perform the following steps manually:

  • Navigate to your Home Assistant instance.
  • In the sidebar, click Settings.
  • From the Setup menu, select: Devices & Services.
  • In the lower right corner, click the Add integration button.
  • In the list, search and select Epic Games.
  • Follow the on-screen instructions to complete the setup.

Debugging

To enable debug for Epic Games integration, add following to your configuration.yaml:

logger:
  default: info
  logs:
    custom_components.epic_games: debug

Make a card

To view Epic Games information, follow an example of a card. Remember to install the upcoming-media-card

type: custom:upcoming-media-card
entity: sensor.epic_games
title: Epic Games
max: 10
image_style: fanart
date: ddmm
line1_text: "Metacritic: $rating"

After setup, the card above will look like this:

image