Dermot Duffy
f64690335b
test: Improve timezone resilience / cleanliness of tests ( #2279 )
...
- Related: https://github.com/dermotduffy/advanced-camera-card/pull/2278
- Reported by @0x464e
2025-12-11 05:33:48 -08:00
Dermot Duffy
639c5c3e4b
fix: Fix z-index rendering issue when card is expanded ( #2274 )
...
- Closes #2155
2025-12-09 23:45:07 -08:00
Dermot Duffy
c9c7e93e19
fix: Ignore URL actions for other card IDs ( #2272 )
...
- Closes #2190
2025-12-09 20:22:22 -08:00
Dermot Duffy
f8138c2377
fix: Race condition in remote control entity handling ( #2267 )
...
- Related #2244
2025-12-08 20:55:06 -08:00
Dermot Duffy
a241e02594
fix: Touch gestures should count as card interactions ( #2265 )
...
- Closes : #2245
2025-12-08 18:43:28 -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
993e288c14
fix: Preserve parsers/matches on folder navigation ( #2249 )
...
- Closes #2231
2025-11-26 10:00:34 -08:00
Dermot Duffy and Felipe Santos
1f41781a84
feat: Add custom reload action to reload dashboard ( #2217 )
...
- Closes : #2215
---------
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
2025-10-14 07:37:50 -07:00
Dermot Duffy
7edaac079e
fix: Timeline should should show folder media even without camera support ( #2216 )
...
- Closes #2205
2025-10-13 21:15:32 -07:00
Dermot Duffy
78dee9194f
feat: Add timeline support for folder media ( #2197 )
...
- Closes #2106
2025-10-04 15:47:39 -07:00
Dermot Duffy
3b4752b257
feat: Triggers should fire on startup if entities are in an active state ( #2095 )
...
- Closes : #2087
2025-06-08 16:01:26 -07:00
Dermot Duffy
f5918738e4
fix: Allow multiple date parsers to apply at the same folder hierarchy level ( #2090 )
...
- For: #1748
2025-06-06 14:30:55 -07:00
Dermot Duffy
956a2e523c
feat: Add folder view to view folder media ( #2077 )
...
- Closes : #2068
Note: Renames existing `folder` view to `folders` [experimental
functionality]
2025-05-31 17:13:39 -07:00
Dermot Duffy
c55a0f00fd
feat: Allow matching of folders based on parsed date ( #2074 )
...
- For: #1748
2025-05-31 14:12:09 -07:00
Dermot Duffy
dc63dcdab9
feat: Add or and template folder media matchers ( #2071 )
...
- For: #1748
2025-05-29 21:21:59 -07:00
Dermot Duffy
c077f8bf70
feat: Add folder title matching and parsing ( #2067 )
...
This is a breaking change for users of the [experimental 'folder'
functionality](https://card.camera/#/configuration/folders ).
Related: #1748
2025-05-27 07:50:51 -07:00
Dermot Duffy
c4400194f5
fix: Allow multiple overrides to operate independently ( #2063 )
...
- Closes #1954
2025-05-24 16:14:09 -07:00
Dermot Duffy
b97e1358d0
fix: Fix issue with media view incorrectly rejecting cameras ( #2061 )
...
For issue: #1748
2025-05-23 20:02:13 -07:00
Dermot Duffy
c6a4c8aea2
feat: Implement basic general folder support ( #2051 )
...
- Related: #1748
2025-05-21 19:59:21 -07: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
f6bb8001e3
fix: Allow entity to take remote control priority ( #1981 )
...
- Closes : #1958
[skip ci]
2025-03-24 18:24:56 -07:00
Dermot Duffy
8512df1720
fix: Prevent "action loops" ( #1978 )
...
- Closes : #1967
- Closes : #1969
2025-03-22 18:39:36 -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
bb147a45fd
fix: Reolink metadata should not reject media with labels ( #1900 )
...
- Related to: #1870
2025-02-17 20:13:21 -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
da79664a67
feat: Add support for config and initialized conditions ( #1894 )
...
These conditions are probably not hugely useful for most card users, but
allows the inbuilt automation systems to be used for card internal
operations.
[skip ci]
2025-02-16 14:17:04 -08:00
Dermot Duffy
7fb710d45d
feat: Add support for templates in actions ( #1891 )
...
- Closes #1878
2025-02-14 07:23:19 -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
faa5ec3eec
refactor: Refactor internal error / info message components ( #1842 )
2025-01-20 15:26:53 -08:00
Dermot Duffy
3003f82170
fix: Microphone should still work after a view change ( #1835 )
...
- Closes #1810
2025-01-18 14:54:40 -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
7657bdf22c
fix: Rendering not correctly forced when tab changed in certain circumstances ( #1817 )
...
- Closes #1811
- Closes #1769
2025-01-09 20:21:26 -08:00
Dermot Duffy
c3dc4803ad
fix: Honor the view configured display mode ( #1815 )
...
- Closes #1812
2025-01-07 22:28:40 -08:00
Dermot Duffy
278560b5ac
feat: Add richer card theme support ( #1809 )
2025-01-07 19:54:13 -08:00
Dermot Duffy
bc95f55cb0
fix: Always fetch media for "most recent media" views ( #1791 )
2024-12-23 16:22:10 -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
e2b6d38fc2
fix: default action should fetch new media ( #1767 )
2024-12-15 21:42:12 -08:00
Dermot Duffy
ed0bb99a45
fix: Panel height should be 100% when casted ( #1750 )
2024-12-13 08:11:26 -08:00
Dermot Duffy
9ac6134446
perf: Change media fetches to be asynchronous to view render ( #1702 )
...
This is a fairly non-trivial change in terms of consequence, so a greater than average chance something breaks. This is necessary since some cameras (e.g. Reolink) are materially slower to fetch media, and this change substantially improves card responsiveness.
2024-12-01 20:57:48 -08:00
Dermot Duffy
9ca56d061f
fix: Improve media background image ( #1635 )
...
* fix: Improve media background image
* Simplify loading spinner.
This is slightly less fancy, but removes code. I'm guessing no-one will notice or care enough to raise it! (BMFW).
2024-10-12 14:31:26 -07:00
Dermot Duffy
d7fa2933da
fix: Show a background image in case media doesn't load ( #1622 )
2024-10-06 14:51:44 -07:00
Felipe Santos and Dermot Duffy
1f5d4bd8b0
fix: media_stop not supported on Google Cast devices ( #1605 )
...
* fix: `media_stop` not supported on Google Cast devices
* Add tests for new stop functionality
---------
Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com >
2024-10-02 20:06:08 -07:00
Dermot Duffy
9393722fa6
refactor: Cache device information centrally ( #1598 )
2024-09-29 17:17:40 -07:00