Skip to content

HA Card for Dutch field hockey-league for use with hockey-team-tracker HACS integration

License

Notifications You must be signed in to change notification settings

MadSnuif/hockeynl-card

Repository files navigation

hockeynl-card

HA Card for dutch field hockey-league This card wil show a home assistant sensor created with https://github.com/joosthoi1/hockey-team-tracker as a neat card.

How to install the card

Install the card via HACS is the best solution. Go to HACS tab and and choose front-end, ... (marked yellow) and choose custom repositories HACS Frontend plugin selection screen Choose https://github.com/MadSnuif/hockeynl-card as repository and category Lovelace Since it for now is a custom repository you have to download it with the button in Home Assistant. Card chooser HACS It will be added to the correct location for HACS cards. As stated the card needs to have sensors created with https://github.com/joosthoi1/hockey-team-tracker. You can add your own sensors but you need to understand the underlaying API. A typical sensor would look somthing like: An example sensor

How to use the card

In Home Assistant add on your page a new card, and choose custom: HockeyNL Card alt text Add the sensors in code in the card: for example two team sensors will need:

type: custom:hockeynl-card
entities:
  - sensor.gouda_heren_1
  - sensor.gouda_dames_1

alt text

New in 1.02

You can now change the card title with the added line title: in de card configuration. By setting title: '' (empty string) you can remove the title from the card. Example:

type: custom:hockeynl-card
title: 'My Name'
entities:
   - sensor.gouda_heren_1
   - sensor.gouda_dames_1

Enjoy the card!

About

HA Card for Dutch field hockey-league for use with hockey-team-tracker HACS integration

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published