Skip to content

Commit

Permalink
Update simple install instructions (#546) #470
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih authored Oct 3, 2021
1 parent 25fac1f commit 5971eed
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t

### Simple install

#### Storage mode **(default)**
1. Download and copy `mini-media-player-bundle.js` from the [latest release](https://github.com/kalkih/mini-media-player/releases/latest) into your `config/www` directory.
2. Go to Sidebar -> Configuration -> Lovelace Dashboards -> Resources.
3. Click on `+ ADD RESOURCE`.
4. Type `/local/mini-media-player-bundle.js?v=1.13.0` below URL.
5. Choose `JavaScript Module` below Resource Type.
6. Accept.

#### YAML mode

1. Download and copy `mini-media-player-bundle.js` from the [latest release](https://github.com/kalkih/mini-media-player/releases/latest) into your `config/www` directory.

2. Add a reference to `mini-media-player-bundle.js` inside your `configuration.yaml` or through the Home Assistant UI from the resource tab.
Expand Down Expand Up @@ -51,7 +61,7 @@ Inspired by [Custom UI: Mini media player](https://community.home-assistant.io/t

2. Replace the local file with the latest one attached in the [latest release](https://github.com/kalkih/mini-media-player/releases/latest).

3. Add the new version number to the end of the cards reference url in your `configuration.yaml` or through the Home Assistant.
3. Add the new version number to the end of the cards reference url in your `configuration.yaml` (YAML mode) or through the Home Assistant UI - `Sidebar -> Configuration -> Lovelace Dashboards -> Resources` (Storage mode).

```yaml
lovelace:
Expand Down

0 comments on commit 5971eed

Please sign in to comment.