-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Max Laoh
committed
Mar 22, 2024
1 parent
ae82a1e
commit 65aa639
Showing
7 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.