Commit Graph
54 Commits
Author SHA1 Message Date
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 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 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 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 3e8e688b36 feat: Add basic fullscreen support for iPhone (#1857)
- Closes #1444
2025-01-27 07:23:07 -08:00
Dermot Duffy 0212840688 fix: Substream only cameras should not be triggerable (#1848)
- Closes #1846
2025-01-21 07:17:09 -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 addf6edb30 fix: Don't hide PTZ control menu button unnecessarily (#1823)
- Closes: #1819
2025-01-11 15:30:41 -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 1992db2144 fix: Panel mode should exclude header height (#1738)
* fix: Panel mode should exclude header height

* Update docs to clarify aspect-ratio behavior in a panel
2024-12-11 20:42:05 -08:00
Dermot Duffy 649b0280ee feat: Increase max thumbnail size to 300px (#1703)
* feat: Remove max thumbnail size

* Remove old comment.

* Set max to 350px

* Decrease max size to 300px
2024-12-08 13:03:47 -08:00
Dermot Duffy 241719c14e fix: Column sizing may calculate incorrectly in grid mode (#1695) 2024-11-27 12:45:42 -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 231606ad18 docs: Add alignment parameter to menu elements documentation (#1681) 2024-11-09 15:49:53 -08:00
Dermot Duffy 5141e39dbe docs: Fix ptz_digital typos (#1680) 2024-11-09 15:25:21 -08:00
Dermot Duffy a07a939e0a docs: Fix PTZ example (#1642)
* docs: Fix PTZ example

* chore: Strength the github issue templates

* Reduce mandatory information
* Diagnostics information always required
2024-10-13 17:31:32 -07:00
Dermot Duffy 2269f9891d docs: Fix incorrect change_zoom example (#1640) 2024-10-13 16:44:40 -07:00
Dermot Duffy 7895de96d2 fix: Rationalize custom icons to avoid duplication (#1639) 2024-10-13 16:24:51 -07:00
Dermot Duffy 0ec9afbad2 feat: Add permanent menu items for hidden menus (#1636) 2024-10-13 11:05:33 -07:00
Dermot Duffy 78e4eedf85 fix: Zoom/pan support for WebRTC Card (#1624) 2024-10-07 07:31:56 -07:00
Dermot Duffy 323d1ff7c4 fix: Treat a un/selection of grid items as selected for auto media actions (#1623)
This is a slight behavioral change vs earlier v6 betas, but makes the media actions less surprising. This also allows for automated unmuting in a grid when a camera is selected, without having _every_ camera automatically unmuted.
2024-10-06 16:32:16 -07:00
Dermot Duffy 1e0a990855 feat: Add new casting profile (#1575)
* feat: Add new `casting` profile

* Set some additional flags for casting
2024-09-23 20:24:35 -07:00
Dermot Duffy c225a9aeab fix: Configured PTZ actions should overrule auto-detected actions (not merge with them) (#1558)
* fix: Configured PTZ actions should overrule auto-detected actions (not merge with them)

* Don't populate capabilities unless there is some basis
2024-09-21 18:32:40 -07:00
Dermot Duffy b46ea36265 feat: Add loading spinner on card initialization (#1549)
* feat: Add loading spinner on card initialization

* Minor doc fix.
2024-09-20 19:39:17 -07:00
Felipe Santos af4666e023 feat: Add microphone_connect action (#1537) 2024-09-15 20:17:48 -07:00
shbatm cccd8552f8 (docs)Fix Typo in Profiles Configuration page (#1535) 2024-09-15 17:49:36 -07: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
Felipe Santos e13e53b430 feat: Add microphone_disconnect action (#1536) 2024-09-15 15:44:40 -07:00
Dermot Duffy 6c2116d278 fix(docs): Fix typo in override documentation 2024-09-14 12:57:45 -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 0403441e07 Add max_simultaneous_engine_requests parameter 2024-08-26 19:57:55 -07:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Dermot Duffy ef7b4b0ddf Formatting pass. 2024-07-30 02:23:51 -07:00
Dermot Duffy 8823e769a2 Remove unnecessary sentence. 2024-07-30 02:22:50 -07:00
Dermot Duffy 67c90aa577 Minor docs example updates. 2024-07-30 02:17:47 -07:00
Dermot Duffy f2ca80821e Update docs. 2024-07-29 10:09:44 -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
Felipe Santos 91b0909614 Fix some broken formatting in the docs 2024-06-10 00:49:57 -03:00
Felipe Santos fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Dermot Duffy b70e3157d6 Add example to documentation. 2024-04-27 19:56:50 -07:00