Skip to content

Commit 3a00f67

Browse files
committed
Update README
1 parent 9c1fbc1 commit 3a00f67

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

README.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,31 @@ A Lovelace card to display Norwegian Posten delivery days.
1010

1111
## Prerequisites
1212

13-
This card assumes you have a sensor that provides the next delivery days, see [this gists](https://gist.github.com/ezand/592aefd2ee880eb5723e041d413d7be0)
14-
as an example. Remember to replace the `postCode` parameter with your
13+
This card assumes you have a sensor that provides the next delivery days,
14+
see [this example](https://github.com/ezand/home-assistant-config/blob/master/sensors/posten-delivery-days.yaml).
15+
Remember to replace the `postCode` parameter with your own.
16+
17+
## Installation
18+
19+
### [HACS](https://hacs.xyz/) (Home Assistant Community Store)
20+
21+
1. Go to HACS page on your Home Assistant instance
22+
1. Select `Frontend`
23+
1. Press add icon and search for `posten`
24+
1. Select Posten Card repo and install
25+
1. Force refresh the Home Assistant page (<kbd>Ctrl</kbd> + <kbd>F5</kbd>)
26+
1. Add posten-card to your page
27+
28+
### Manual
29+
30+
1. Download the 'posten-card.js' from the latest [release](https://github.com/ezand/lovelace-posten-card/releases) (with right click, save link as)
31+
1. Place the downloaded file on your Home Assistant machine in the `config/www` folder (when there is no `www` folder in the folder where your `configuration.yaml` file is, create it and place the file there)
32+
1. In Home Assistant go to `Configuration->Lovelace Dashboards->Resources` (When there is no `resources` tag on the `Lovelace Dashboard` page, enable advanced mode in your account settings, rand retry this step)
33+
1. Add a new resource
34+
1. Url = `/local/posten-card.js`
35+
1. Resource type = `module`
36+
1. Force refresh the Home Assistant page (<kbd>Ctrl</kbd> + <kbd>F5</kbd>)
37+
1. Add posten-card to your page
1538

1639
## Options
1740

0 commit comments

Comments
 (0)