Skip to content

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

License

Notifications You must be signed in to change notification settings

D34DC3N73R/ha-nfl-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.