feat: Rename the card to advanced-camera-card (#1873)

Whilst the Frigate support in this card is the best among camera
engines, the name incorrectly suggests that Frigate is a requirement.
Instead, to broaden the appeal, change to more camera agnostic name.
This does not suggest any change in priority, role or support for
Frigate.

This change is likely to be bug prone, due to the size of the rename --
the code contains 1500+ references to "Frigate" most of which make sense
to rename, some which do not, all of which needed human assessment.

- Closes #1298


BREAKING CHANGE: References to `frigate-card` in all kinds of
configuration need to be updated to `advanced-camera-card`. An automated
config upgrade should take care of the majority of usecases (click `Edit
-> Upgrade -> Save`), though may not be perfect.
This commit is contained in:
Dermot Duffy
2025-02-06 19:32:32 -08:00
committed by GitHub
parent 43947b49dc
commit cc376a8be1
305 changed files with 4270 additions and 3686 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ jobs:
- name: Upload javascript
uses: actions/upload-artifact@v4
with:
name: frigate-hass-card
name: advanced-camera-card
path: dist/*.js
# When this issue is fixed, it would be useful to upload visualizations:
@@ -57,5 +57,5 @@ jobs:
# - name: Upload visualizations
# uses: actions/upload-artifact@v4
# with:
# name: frigate-hass-card
# name: advanced-camera-card
# path: visualizations/*.html
+2 -2
View File
@@ -26,7 +26,7 @@ jobs:
with:
type: zip
path: dist
filename: frigate-hass-card.zip
filename: advanced-camera-card.zip
- name: Upload JS files to release
uses: svenstaro/upload-release-action@2.9.0
@@ -43,7 +43,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: frigate-hass-card.zip
file: advanced-camera-card.zip
tag: ${{ github.ref }}
overwrite: true
+1 -1
View File
@@ -50,7 +50,7 @@ jobs:
with:
type: zip
path: dist
filename: frigate-hass-card.zip
filename: advanced-camera-card.zip
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}