Skip to content

Commit

Permalink
Added instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Laoh committed Mar 22, 2024
1 parent ae82a1e commit 65aa639
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# 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](image.png)
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](image-1.png)
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](image-3.png)



## How to use the card
In Home Assistant add on your page a new card, and choose custom: HockeyNL Card
![alt text](image-4.png)
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](image-5.png)

Enjoy the card!
Binary file added image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 65aa639

Please sign in to comment.