docs: Highlight and improve help for duplicate versions (#1935)

This commit is contained in:
Dermot Duffy
2025-03-03 21:10:06 -08:00
committed by GitHub
parent 3b77b11196
commit bad737994d
+18 -11
View File
@@ -2,6 +2,24 @@
## Highlighted Issues
### Duplicate versions / Duplicate element registrations / `Custom element not found: advanced-camera-card`
If your card appears to not load anymore (but was working previously), you're
seeing the version of the card changing between reloads, or seeing log entries
like:
`Failed to execute 'define' on 'CustomElementRegistry': the name "focus-trap" has already been used with this registry window`
Verify that your dashboard resources contain only a single instance of the card
(for HACS users, you should see only `/hacsfiles/advanced-camera-card/`. If you
_also_ see `/hacsfiles/frigate-card/`, remove it, clear your caches and reload).
Steps:
1. Edit your dashboard -> (Three dots menu) -> `Manage Resources`. Remove any line item that refers to `frigate-hass-card`. You should only have a single row entry for `advanced-camera-card`.
1. [Optionally] You can delete the frigate-hass-card directory on your filesystem if present, e.g. `$HA_PATH/www/community/frigate-hass-card`, as long as it has an `advanced-camera-card` directory there too.
1. Clear all your caches.
### Stream does not load
Stream not loading? Permanent "loading circle"?
@@ -168,17 +186,6 @@ documentation](https://docs.frigate.video/frigate/installation#docker).
Large downloads may take a few seconds to assemble, so there may be a delay
between clicking the download button and the download starting.
### Duplicate versions / Duplicate element registrations
You're seeing the version of the card changing between reloads, or seeing
log entries like:
`Failed to execute 'define' on 'CustomElementRegistry': the name "focus-trap" has already been used with this registry window`
Verify that your dashboard resources contain only a single instance of the card
(for HACS users, you should see only `/hacsfiles/advanced-camera-card/`. If you
_also_ see `/hacsfiles/frigate-card/`, remove it, clear your caches and reload).
### `Forbidden media source identifier`
- If you are using a custom `client_id` setting in your `frigate.yml` file (the