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
78dee9194f
feat: Add timeline support for folder media ( #2197 )
...
- Closes #2106
2025-10-04 15:47:39 -07:00
Dermot Duffy
c3e7cef9cf
fix: Camera aspect-ratio should always apply ( #2114 )
...
- Closes #2073
2025-07-13 14:56:03 -07:00
Dermot Duffy
c6a4c8aea2
feat: Implement basic general folder support ( #2051 )
...
- Related: #1748
2025-05-21 19:59:21 -07:00
Dermot Duffy
a5ffd51728
fix: Lazy unloading should not leave dangling connections ( #2004 )
...
- Closes #1992
2025-04-12 10:48:37 +01:00
Dermot Duffy
e7a9e20c9e
feat: Add support for template conditions ( #1995 )
...
- Closes: #1988
2025-04-05 22:25:46 +01:00
Dermot Duffy
b5eee5878a
feat: Add out of the box support for Reolink PTZ ( #1982 )
...
- Closes : #1964
2025-03-26 21:26:02 -07:00
Dermot Duffy
d6225fefda
refactor: Break apart monolithic configuration schema ( #1977 )
...
[skip ci]
2025-03-22 15:06:11 -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
a79ffa6edc
refactor: Retire the use of unmaintained custom-card-helpers ( #1956 )
...
- Closes #1295
2025-03-09 16:02:33 -07:00
Dermot Duffy
3b77b11196
fix: Increase reliability of media auto actions (e.g. play) ( #1934 )
...
Refactors media player handling entirely to make the code more
consistent and less boilerplate. Add testing for media player actions.
- Closes #1921
- Closes #1916
2025-03-03 20:59:01 -08:00
Dermot Duffy
0432eea4b8
feat: Add UI support for PTZ presets ( #1920 )
...
- Closes #1889
Whilst a simple change theoretically, the card has such a collection of
surfaces that can overlap other surfaces, it's challenging to get this
to work right! There's a real chance this will have broken something
z-index related (e.g. X overlaps Y when it should not), or (for related
reasons) broken curver corners on the card.
2025-02-27 20:22:12 -08: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
8d3cf07b43
refactor: Significantly refactor how conditions work internally ( #1886 )
...
- Much improved API cleanliness and testability to allow further
extensibility in future
- Simplified code in `live` view
This technically contains a small change in how overrides work in the
`live` view. Since that change is _closer_ to the documentation, and
since this is likely to be rarely used, this is not considered a
breaking change. Previously, overrides for a given live camera would
always render _as if_ that camera was selected, vs was actually
selected. Now, overrides will only apply in the live view when the
camera is _actually_ selected. If this is an issue for you in practice,
lets discuss.
2025-02-11 20:07:55 -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
3e8e688b36
feat: Add basic fullscreen support for iPhone ( #1857 )
...
- Closes #1444
2025-01-27 07:23:07 -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
9393722fa6
refactor: Cache device information centrally ( #1598 )
2024-09-29 17:17:40 -07:00
Dermot Duffy
02fb6e1d4c
refactor: Refactor entity register manager ( #1597 )
2024-09-29 15:55:28 -07:00
Dermot Duffy
766f3422a9
fix: Unparseable config when using the low-performance profile ( #1570 )
...
* The `low-performance` profile itself had parse errors: fix them!
* Do not silently swallow override parse errors, they are always a user issue
* Minor error message rendering improvements to show multiple pieces of context
2024-09-22 15:08:37 -07:00
Dermot Duffy
1a0e219c61
Move automatic media actions out of carousels
2024-09-07 15:04:23 -07:00
Dermot Duffy
429dd90972
Use custom websocket to avoid needing admin privileges.
2024-08-24 20:00:00 -07:00
Dermot Duffy
e503f0e429
Initial version of status bar.
2024-08-16 20:08:21 -07:00
Dermot Duffy
d5c4e56c45
Refactor views to support dynamic updates.
2024-07-26 19:15:38 -07:00
Dermot Duffy
afb9af5eb4
Rename several view variables for clarity.
2024-06-11 19:48:39 -07:00
Dermot Duffy
7ab545738d
Add initial keyboard shortcut support.
2024-06-05 21:44:17 -07:00
Dermot Duffy
323925101d
Add support for more advanced forms of overriding
2024-04-13 18:23:11 -07:00
Dermot Duffy
f67620397f
Set timeline to now not to most recent event.
2024-04-07 20:21:09 -07:00
Dermot Duffy
95c44adcf1
Allow camera capabilities to be configured.
2024-03-26 21:00:15 -07:00
Dermot Duffy
829f411acc
Convert conditions to HA style.
2024-03-10 18:09:17 -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
e12912fa85
Add out-of-the-box Frigate PTZ support.
2023-10-29 14:10:41 -07:00
Dermot Duffy
f2e230fa81
Add mixxing part of prior commit.
2023-10-03 20:22:56 -07:00
Dermot Duffy
9b72dd8089
Refactor main types.ts .
2023-10-02 22:35:58 -07:00
Dermot Duffy
bfdbe70d6c
Refactor card.ts substantially and test.
2023-10-02 16:30:05 -07:00
Dermot Duffy
e830db1a77
Complete carousel refactor.
...
Reduces one layer of DOM nesting for simplication, uses the latest Embla
version, unittests for everything.
2023-09-04 16:25:32 -07:00
Dermot Duffy
b663e0b731
Initial support for grid for live and media viewer.
2023-08-08 22:26:25 -07:00
Dermot Duffy
39b985b4df
Add screenshot support.
2023-06-16 19:36:45 -07:00
Dermot Duffy
b17fb62b36
Refactor menu button logic out of main card.
2023-05-20 19:39:43 -07:00
Dermot Duffy
cb6a73c3f8
Fix Frigate event schema break (top_score === null)
2023-05-06 11:46:30 -07:00
Dermot Duffy
867a118a16
Add better control over substreams.
2023-05-06 10:42:17 -07:00
Dermot Duffy
fd74c1c855
Add initial support for automations.
2023-05-04 19:54:41 -07:00