From f0627e14c53fc90359016ddc82ac5e73e3894d91 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Thu, 5 Oct 2023 22:06:58 -0700 Subject: [PATCH 1/2] Clarify installation instructions. --- README.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9ffb6995..e5bf6e63 100644 --- a/README.md +++ b/README.md @@ -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 + +HACS should automatically add the necessary resources. Should this auto-registration does not work, you will need to complete this 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: @@ -64,7 +82,6 @@ lovelace: ``` * Restart Home Assistant. -* Add the new card to the Lovelace configuration! From fc51bfa490431ce40c56442055e5d8cb330d988d Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Thu, 5 Oct 2023 22:08:31 -0700 Subject: [PATCH 2/2] Tweaks. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e5bf6e63..68209889 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ That's it! ### Manual Resource Management -HACS should automatically add the necessary resources. Should this auto-registration does not work, you will need to complete this additional step. +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) @@ -70,7 +70,7 @@ Three dots menu -> "Edit Dashboard" -> Three dots menu -> "Manage resources" -> #### Lovelace in "YAML mode" (rare) -You would see`mode: yaml` under `lovelace:` in your `configuration.yaml` if this applies to you. +You would see`mode: yaml` under `lovelace:` in your `configuration.yaml` if this applies to you. * Add the following to `configuration.yaml`: