D34DC3N73R / ha-nfl-card

A Home Assistant frontend custom card for the ha-nfl integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home Assistant NFL Card

A Home Assistant frontend custom card for the ha-nfl integration.

   PREGAME

pregame

   IN GAME

ingame

   POSTGAME

postgame

   BYE

bye

HACS Installation

  • In the HACS UI, click the 3 dots in the upper right
  • Click 'Add Custom Repository'
  • Fill in the repo url https://github.com/D34DC3N73R/ha-nfl-card and choose 'Lovelace' category.
  • install the custom card
  • Add the following to your resources
url: /hacsfiles/ha-nfl-card/ha-nfl-card.js
type: module

Manual Installation

  • Download ha-nfl-card.js
  • Copy to www/community/ha-nfl-card/ (make the ha-nfl-card directory)
  • Add the following to your resources
url: /hacsfiles/ha-nfl-card/ha-nfl-card.js
type: module

Options

Name Description Default Required Values
entity Name of ha-nfl sensor sensor.nfl Yes Valid sensor
outline Outline team colors (helpful w/ dark themes) false No true false
outline_color Specifies outline color. white No CSS color or hex value

Examples

type: 'custom:nfl-card'
entity: sensor.nfl
outline: true
outline_color: deeppink

example

type: 'custom:nfl-card'
entity: sensor.nfl
outline: true
outline_color: '#ffe500'

example2

Minimal Required Configuration

type: 'custom:nfl-card'
entity: sensor.nfl

Where sensor.nfl is the sensor name from the ha-nfl integration.

About

A Home Assistant frontend custom card for the ha-nfl integration.

License:GNU General Public License v3.0