Commit Graph
45 Commits
Author SHA1 Message Date
Dermot Duffy 13bea49429 feat: Add option to disable mousewheel carousel scrolling (#2263)
- Closes: #2220
2025-12-08 17:19:56 -08:00
Dermot Duffy 3279481b0e feat: Add festive visual effects (#2252)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Introduces an effects system (fireworks, ghost, hearts, shamrocks,
snow), a new `effect` action, and optional date-based loading effects,
integrated into the card with docs, schema, editor, and tests.
> 
> - **Effects System**:
> - Add `EffectsController` and `advanced-camera-card-effects` host with
lazy-loaded effect modules (`fireworks`, `ghost`, `hearts`, `shamrocks`,
`snow`).
> - New base effect component with fade-in/out; SCSS and z-index
updates.
> - **Actions**:
> - New custom action `advanced_camera_card_action: effect` with
`effect_action` (`start`|`stop`|`toggle`).
>   - Wire into `ActionFactory` and add `EffectAction` executor.
> - **Card Integration**:
> - Mount effects host in `advanced-camera-card` and expose
`getEffectsControllerAPI()` via `CardController`.
> - Loading component can trigger date-based effects (e.g., New Year
fireworks) when enabled.
> - **Configuration & Editor**:
> - Add `performance.features.card_loading_effects` (default `true`)
alongside `card_loading_indicator`.
> - Update schemas, defaults, low-performance profile (disables
effects), and editor toggles.
> - **Docs & Examples**:
>   - Document `effect` action parameters and add menu example.
>   - Update performance docs with new option.
> - **Localization & Tests**:
>   - Update i18n strings for new performance option.
> - Add comprehensive tests for effects controller, action, factory,
config defaults/profiles, and utilities.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
cffd4304fe3bd22340316f9cec53e341379b1756. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2025-12-06 18:21:44 -08:00
Dermot Duffy bc5022ef1a feat: Enable go2rtc live stream proxying (#2159)
- Closes #1984
2025-08-28 21:19:19 -07:00
Dermot Duffy c6a4c8aea2 feat: Implement basic general folder support (#2051)
- Related: #1748
2025-05-21 19:59:21 -07:00
Dermot Duffy f6bb8001e3 fix: Allow entity to take remote control priority (#1981)
- Closes: #1958


[skip ci]
2025-03-24 18:24:56 -07:00
Dermot Duffy a3b17d8cb2 feat: Add or, and and not condition types (#1980)
[skip ci]
2025-03-23 21:04:15 -07:00
Dermot Duffy d6225fefda refactor: Break apart monolithic configuration schema (#1977)
[skip ci]
2025-03-22 15:06:11 -07:00
Dermot Duffy 92fc8dd844 test: Add tests for config actions, elements and conditions (#1976)
[skip ci]
2025-03-21 20:14:24 -07:00
Dermot Duffy 75ae7720d3 fix: Confirmations should apply to all actions (#1959)
This also refactors how generic HA actions are handled, and improves
typing of actions.


[skip ci]
2025-03-15 14:32:48 -07:00
Dermot Duffy c66c3ec919 feat: Add control/output of selected camera via an entity (#1895)
- Closes #1871
2025-02-17 13:33:10 -08:00
Dermot Duffy cc376a8be1 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.
2025-02-06 19:32:32 -08:00
Dermot Duffy f123bb91dd feat: Add support for 12-hour clock formatting on timelines (#1862)
- Closes #1779 


[skip ci]
2025-02-01 13:37:12 -08:00
Dermot Duffy 57a687d659 fix: Restore camera layout support in image view (#1831)
* Closes #1804
2025-01-16 20:00:31 -08:00
Dermot Duffy 6b3736bdaf fix: Show version number with card loading spinner (#1825)
- Closes #1818

**Why add this?**: A repeated pattern is that an issue is fixed in the
card, a new build is released and users will incorrectly believe it's
not yet fixed due to their browser caching the old code. This results in
wasting their time, and my time.

**But it's obnoxious!**: I'm pretty sensitive to this (hence adding
these messages!), so let me know how terrible you find it. You can
disable it with:

```yaml
performance:
  features:
    card_loading_indicator: false
```
2025-01-12 16:26:30 -08:00
Dermot Duffy 2678500670 feat: Allow user-agent based conditions (#1821)
* Closes #1819
2025-01-10 07:41:19 -08:00
Dermot Duffy 278560b5ac feat: Add richer card theme support (#1809) 2025-01-07 19:54:13 -08:00
Dermot Duffy 9d812af9f4 fix: Use HA style and coloring for all icons (#1790) 2024-12-23 15:22:27 -08:00
Dermot Duffy 0b681402db feat: Add new option to always error on entity unavailable (#1770) 2024-12-16 21:05:17 -08:00
Dermot Duffy dada65e008 feat: Add experimental reolink media support (#1694)
* feat: Add experimental rich reolink support.

* Formatting fix
2024-11-25 20:19:12 -08:00
Dermot Duffy f924537025 fix: Replace max_height with height (#1539)
* fix: Replace `max_height` with `height`

BREAKING CHANGE: This entirely removes `min_height`, and replaces `max_height` with `height`. The behavior is obviously not exactly the same, but the prior behavior did not actually work correctly. CSS does not  limit the height of child elements that are `100%` of their parents height if the parent does not have an explicit height set (this caused spillage over the set max height). As such, it's simpler to just allow the user to set the actual height of the card should they need to do so, with a (hopefully) minor loss of flexibility.

* Test fixes
2024-09-15 17:29:05 -07:00
Dermot Duffy a0283c35c1 Add support for perform-action calls. 2024-09-09 22:05:49 -07:00
Dermot Duffy 041656317a Add support for arbitrary image entities 2024-09-08 16:48:26 -07:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Dermot Duffy afb9af5eb4 Rename several view variables for clarity. 2024-06-11 19:48:39 -07:00
Dermot Duffy f193f9925f Add update trigger action. 2024-06-11 19:48:39 -07:00
Dermot Duffy 08ba2ee0b1 Hide the ptz_home button. Likely not important enough for most users. 2024-06-05 22:12:42 -07:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Dermot Duffy 7917e5c537 Add support for pre-defined zoom/pan settings. 2024-04-27 14:55:38 -07:00
Dermot Duffy 323925101d Add support for more advanced forms of overriding 2024-04-13 18:23:11 -07:00
Dermot Duffy bde4e6cd38 Add support for configuration profiles. 2024-03-28 21:41:48 -07:00
Dermot Duffy 95c44adcf1 Allow camera capabilities to be configured. 2024-03-26 21:00:15 -07:00
Dermot Duffy 463f4bf32a Add ability to set timeline pan mode via config. 2024-03-10 20:40:18 -07:00
Dermot Duffy ff78cc51a1 Add support for users and numeric_conditions. 2024-03-10 14:30:45 -07:00
Dermot Duffy 88bea0ae7d Allow camera engines to signal events to the card. 2024-03-03 15:40:20 -08:00
Dermot Duffy 93a475c7f4 Allow live thumbnails to load recordings . 2024-02-03 14:23:49 -08:00
Dermot Duffy a4108b73c5 Allow microphone state to be used in conditions. 2024-02-02 20:32:53 -08:00
Dermot Duffy d3260d516c Allow the inbound audio to unmute when the microphone is unmuted. 2024-01-28 20:30:09 -08:00
Dermot Duffy 5e72070c96 Add interaction and triggered conditions. 2024-01-25 22:06:21 -08:00
Dermot Duffy 64a909ead0 Add editor and migration support. 2024-01-21 11:30:23 -08:00
Dermot Duffy 278f4f372d Initial version of more advanced scan mode control. 2024-01-17 22:07:30 -08:00
Dermot Duffy e12912fa85 Add out-of-the-box Frigate PTZ support. 2023-10-29 14:10:41 -07:00
Dermot Duffy 9a2eb24d35 Rename service_data to data to maintain HA compatibility. 2023-10-08 21:17:57 -07:00
Dermot Duffy b43389ed5b Add support for go2rtc for non-Frigate cameras 2023-10-07 23:27:10 -07:00
Dermot Duffy 913355ad1d Do not require all title popup options be specified. 2023-10-03 19:53:02 -07:00
Dermot Duffy 9b72dd8089 Refactor main types.ts . 2023-10-02 22:35:58 -07:00