Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .devcontainer/preconfig/.storage/lovelace
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"key": "lovelace",
"data": {
"config": {
"title": "Frigate Card",
"title": "Advanced Camera Card",
"views": [
{
"theme": "Backend-selected",
Expand All @@ -13,8 +13,8 @@
"badges": [],
"cards": [
{
"type": "custom:frigate-card",
"name": "Frigate Card with Frigate Camera",
"type": "custom:advanced-camera-card",
"name": "Advanced Camera Card with Frigate Camera",
"cameras": [
{
"camera_entity": "camera.big_buck_bunny",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/preconfig/.storage/lovelace_resources
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"data": {
"items": [
{
"url": "http://localhost:10001/frigate-hass-card.js",
"url": "http://localhost:10001/advanced-camera-card.js",
"type": "module",
"id": "00c459541bac4290af01c51bf9c06ba1"
}
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ assignees: ''

**Checklist:**

- Please try updating to the [latest available version](https://github.com/dermotduffy/frigate-hass-card/releases).
- Please try updating to the [latest available version](https://github.com/dermotduffy/advanced-camera-card/releases).
- Please try clearing your browser cache.

**[REQUIRED] Card diagnostic information:**

<!--
On the card, hold down the Default/Frigate menu button for a few seconds then paste the diagnostics below. No help can be provided without this
On the card, hold down the Iris (default) menu button for a few seconds then paste the diagnostics *between* the pair of triple backticks below. No help can be provided without this.
-->

```yaml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ 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:
# https://github.com/actions/upload-artifact/issues/14
# - name: Upload visualizations
# uses: actions/upload-artifact@v4
# with:
# name: frigate-hass-card
# name: advanced-camera-card
# path: visualizations/*.html
4 changes: 2 additions & 2 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@
<!-- markdownlint-disable fenced-code-language -->
<!-- markdownlint-disable no-inline-html -->

<img src="https://raw.githubusercontent.com/blakeblackshear/frigate-hass-integration/master/images/frigate.png"
alt="Frigate icon"
width="35%"
align="right"
style="float: right; margin: 10px 0px 20px 20px;" />
[![GitHub Release](https://img.shields.io/github/release/dermotduffy/frigate-hass-card.svg?style=flat-square)](https://github.com/dermotduffy/frigate-hass-card/releases)
[![Build Status](https://img.shields.io/github/actions/workflow/status/dermotduffy/frigate-hass-card/build.yml?style=flat-square)](https://github.com/dermotduffy/frigate-hass-card/actions/workflows/build.yml)
[![License](https://img.shields.io/github/license/dermotduffy/frigate-hass-card.svg?style=flat-square)](LICENSE)
[![GitHub Release](https://img.shields.io/github/release/dermotduffy/advanced-camera-card.svg?style=flat-square)](https://github.com/dermotduffy/advanced-camera-card/releases)
[![Build Status](https://img.shields.io/github/actions/workflow/status/dermotduffy/advanced-camera-card/build.yml?style=flat-square)](https://github.com/dermotduffy/advanced-camera-card/actions/workflows/build.yml)
[![License](https://img.shields.io/github/license/dermotduffy/advanced-camera-card.svg?style=flat-square)](LICENSE)
[![HACS](https://img.shields.io/badge/HACS-default-orange.svg?style=flat-square)](https://hacs.xyz)
[![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86&style=flat-square)](https://github.com/sponsors/dermotduffy)

<img src="https://raw.githubusercontent.com/dermotduffy/frigate-hass-card/main/docs/images/image-view.png" alt="Frigate Card" width="400px">
<img src="https://raw.githubusercontent.com/dermotduffy/advanced-camera-card/main/docs/images/advanced-camera-card.png" alt="Advanced Camera Card" width="500px">

# Frigate Card
# Advanced Camera Card

Formerly known as: `Frigate Card`

A comprehensive camera card for Home Assistant.

Expand All @@ -31,4 +28,4 @@ A comprehensive camera card for Home Assistant.
- Full [Picture Elements](https://www.home-assistant.io/lovelace/picture-elements/) support.
- Theme friendly.

See [full documentation](https://dermotduffy.github.io/frigate-hass-card).
See [full documentation](https://dermotduffy.github.io/advanced-camera-card).
10 changes: 6 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
Home Assistant > HACS > Frontend > "Explore & Add Integrations" > Frigate Card
```

[](./common/rename-hacs.md ':include')

- Click `Download this repository with HACS`.

See [Advanced Installation](advanced-installation.md) for other installation resources, or [Rolling Back](./rolling-back.md) to rollback to prior versions.
Expand All @@ -23,22 +25,22 @@ See [Advanced Installation](advanced-installation.md) for other installation res
```

- Click `+ Add Card` shown on the bottom of the screen
- Choose `Custom: Frigate card` from the list
- Choose `Custom: Advanced Camera Card` from the list

## Initial configuration

### Minimal configuration

```yaml
type: custom:frigate-card
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.office
```

### Video scrubbing configuration

```yaml
type: custom:frigate-card
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.office
profiles:
Expand All @@ -48,7 +50,7 @@ profiles:
### Multi-camera grid configuration

```yaml
type: custom:frigate-card
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.office
- camera_entity: camera.kitchen
Expand Down
10 changes: 6 additions & 4 deletions docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
![logo](images/icons/frigate.svg)
![logo](images/icons/iris.svg ':size=48px')

# Frigate Card <small>6.0.0</small>
# Advanced Camera Card

> A comprehensive camera card for Home Assistant.
> A comprehensive camera card for Home Assistant
[GitHub](https://github.com/dermotduffy/frigate-hass-card/)
<small>FKA: Frigate Card</small>

[GitHub](https://github.com/dermotduffy/advanced-camera-card/)
[Documentation](README.md)
10 changes: 5 additions & 5 deletions docs/advanced-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ For most users, HACS should automatically add the necessary resources. Should th
Three dots menu -> "Edit Dashboard" -> Three dots menu -> "Manage resources" -> "Add Resource"
```

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

#### Lovelace in "YAML mode" (rare)
Expand All @@ -26,23 +26,23 @@ You would see`mode: yaml` under `lovelace:` in your `configuration.yaml` if this
```yaml
lovelace:
resources:
- url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
- url: /hacsfiles/advanced-camera-card/advanced-camera-card.js
type: module
```

- Restart Home Assistant.

### Manual installation

- Download the `frigate-hass-card.zip` attachment of the desired [release](https://github.com/dermotduffy/frigate-hass-card/releases) to a location accessible by Home Assistant. Note that the release will have a series of `.js` files (for HACS users) **and** a `frigate-hass-card.zip` for the convenience of manual installers.
- Unzip the file and move the contents of the `dist/` folder to any subfolder name you'd like, e.g. `frigate-card` is used in the below example.
- Download the `advanced-camera-card.zip` attachment of the desired [release](https://github.com/dermotduffy/advanced-camera-card/releases) to a location accessible by Home Assistant. Note that the release will have a series of `.js` files (for HACS users) **and** a `advanced-camera-card.zip` for the convenience of manual installers.
- Unzip the file and move the contents of the `dist/` folder to any subfolder name you'd like, e.g. `advanced-camera-card` is used in the below example.
- Add the location as a Lovelace resource via the UI, or via [YAML configuration](https://www.home-assistant.io/lovelace/dashboards/#resources) such as:

```yaml
lovelace:
mode: yaml
resources:
- url: /local/frigate-card/frigate-hass-card.js
- url: /local/advanced-camera-card/advanced-camera-card.js
type: module
```

Expand Down
1 change: 1 addition & 0 deletions docs/common/rename-hacs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
?> This card was previously called `Frigate Card`. Until the rename is processed by HACS, use `Frigate Card` as the search term, thereafter it will be called `Advanced Camera Card`.
2 changes: 1 addition & 1 deletion docs/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The card supports a myriad of configuration options for simple or complex setups
### Minimal configuration

```yaml
type: custom:frigate-card
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.office
```
Expand Down
10 changes: 5 additions & 5 deletions docs/configuration/actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ variety of circumstances (e.g. tapping on a menu icon, double tapping on an
[element](../elements/README.md) or holding the mouse/tap down on a particular
[view](../view.md?id=supported-views)).

### Differences in actions between Frigate Card and Home Assistant
### Differences in actions between Advanced Camera Card and Home Assistant

Both the Home Assistant frontend and the Frigate card cooperate to provide
action functionality. In general, the Frigate Card functionality is a superset
Both the Home Assistant frontend and the Advanced Camera Card cooperate to provide
action functionality. In general, the Advanced Camera Card functionality is a superset
of that offered by stock Home Assistant.

Stock action functionality is used for Stock [Home Assistant picture
elements](https://www.home-assistant.io/lovelace/picture-elements/). Extended
Frigate card behavior covers all other interactions on the Frigate card (e.g.
Advanced Camera Card behavior covers all other interactions on the Advanced Camera Card (e.g.
menu icon elements, submenus and actions on the card or views).

#### Custom action types: `start_tap` and `end_tap`
Expand All @@ -32,7 +32,7 @@ actually occurring.

#### Multiple actions

Extended Frigate card behavior supports a list of actions instead of a single
Extended Advanced Camera Card behavior supports a list of actions instead of a single
action, all of which will be handled. See [an example of multiple
actions](../../examples.md?id=multiple-actions).

Expand Down
Loading
Loading