Skip to content

Commit

Permalink
Merge pull request #1284 from dermotduffy/install-clarify
Browse files Browse the repository at this point in the history
Clarify installation instructions
  • Loading branch information
dermotduffy authored Oct 6, 2023
2 parents 4140bde + fc51bfa commit b0a8ad3
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,28 @@ Home Assistant > HACS > Frontend > "Explore & Add Integrations" > Frigate Card

* Click `Download this repository with HACS`.

#### Lovelace YAML users
If Lovelace is in YAML mode then there's an additional step required to load the resource into your browser. (This mode is not the default -- you would see`mode: yaml` under `lovelace:` in your `configuration.yaml` if this applies to you),
That's it!

* Add the following to `configuration.yaml` (note that `/hacsfiles/` is just an [optimized equivalent](https://hacs.xyz/docs/categories/plugins#custom-view-hacsfiles) of `/local/community/` that HACS natively supports):
### Manual Resource Management

For most users, HACS should automatically add the necessary resources. Should this auto-registration does not work, you will need to complete one additional step.

#### Lovelace in "Storage mode" (default)

* Navigate:

```
Three dots menu -> "Edit Dashboard" -> Three dots menu -> "Manage resources" -> "Add Resource"
```

* URL: `/hacsfiles/frigate-hass-card/frigate-hass-card.js`
* Resource type: `JavaScript Module`

#### Lovelace in "YAML mode" (rare)

You would see`mode: yaml` under `lovelace:` in your `configuration.yaml` if this applies to you.

* Add the following to `configuration.yaml`:

```yaml
lovelace:
Expand All @@ -64,7 +82,6 @@ lovelace:
```
* Restart Home Assistant.
* Add the new card to the Lovelace configuration!
<a name="manual-installation"></a>
Expand Down

0 comments on commit b0a8ad3

Please sign in to comment.