Commit Graph
2448 Commits
Author SHA1 Message Date
Dermot Duffy e7a9e20c9e feat: Add support for template conditions (#1995)
- Closes:  #1988
2025-04-05 22:25:46 +01:00
Dermot Duffy 36783855a2 fix: Fix issue with detection of zoom in/out buttons (#1986)
- Related: #1964
2025-03-29 12:49:36 -07: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 a3b17d8cb2 feat: Add or, and and not condition types (#1980)
[skip ci]
2025-03-23 21:04:15 -07:00
Dermot Duffy f140f6a653 feat: Allow control of where selected item is in grid (#1979)
- Closes: #1946
2025-03-23 14:49:47 -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 92fc8dd844 test: Add tests for config actions, elements and conditions (#1976)
[skip ci]
2025-03-21 20:14:24 -07:00
Dermot Duffy 773b486489 refactor: Remove unnecessary schemaForType (#1960) 2025-03-15 14:45:13 -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 c65ee3f0f2 fix: Avoid inadvertently resetting the go2rtc connection in some circumstances (#1953)
- Closes #1914
2025-03-08 20:27:23 -08:00
Dermot Duffy 480c3d0ab7 perf: Various minor timeline performance improvements (#1952)
- Closes #1930
2025-03-08 17:31:25 -08:00
Dermot Duffy dbd47c93c1 fix: Fix conditions re-triggering incorrectly in certain cases (#1950)
- Closes #1948


[skip ci]
2025-03-07 20:28:45 -08:00
Dermot Duffy 7daf580c7a fix: Use better default media download filenames (#1949)
* Closes #1938


[skip ci]
2025-03-07 18:57:07 -08:00
Dermot Duffy 473ac5b947 fix: Prevent gallery overflowing onto menu (#1945)
- Closes #1937
2025-03-06 07:35:22 -08:00
Dermot Duffy bad737994d docs: Highlight and improve help for duplicate versions (#1935) 2025-03-03 21:10:06 -08: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 d4650eae8a docs: Add troubleshooting entry for multiple dashboard resources (#1926)
- Related: #1925
2025-03-01 10:40:52 -08:00
Dermot Duffy 41aa3d1f72 fix: Show underlying unavailable entity colors (#1923)
- Closes #1906
2025-02-27 20:49:54 -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 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 a92074bc8d docs: Add troubleshooting entry for unknown frigate instance (#1881)
- Related to #1879
2025-02-08 12:14:23 -08:00
Dermot Duffy 42892c7ca4 docs: Fix URL querystring examples (#1877) 2025-02-07 19:48:47 -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 DuffyandIlya Rakhlin 43947b49dc fix: Downloads for iOS (#1869)
- Closes #1863

---------

Co-authored-by: Ilya Rakhlin <i.rakhlin@gmail.com>
2025-02-01 16:08:32 -08:00
Dermot Duffy a6ecb76efe fix: Add go2rtc.url to editor (#1867)
* Closes #1866
2025-02-01 13:50:27 -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
Jean-Baptiste d1afbc95b6 fix: Update French localization (typos, missing strings...) (#1855)
[skip ci]
2025-01-24 07:27:36 -08:00
Dermot Duffy 32e792fdf3 fix: Better handle multiple simultaneous requests for diagnostics (#1852)
- Closes #1851


[skip ci]
2025-01-21 20:36:28 -08:00
Dermot Duffy 805a21107d fix: Correctly detect configuration for the webrtc-card live provider (#1850)
- Closes #1843

If this breaks something for you, please let me know. As a workaround,
you should manually be able to set it back to what it was with something
like:

```yaml
cameras:
 - camera_entity: camera.office
   webrtc_card:
      url: <frigate camera name>
```
2025-01-21 19:42:47 -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 596a724714 fix: Add additional troubleshooting pointers for stream load errors (#1844)
[skip ci]
2025-01-20 18:56:59 -08:00
Dermot Duffy faa5ec3eec refactor: Refactor internal error / info message components (#1842) 2025-01-20 15:26:53 -08:00
Dermot Duffy 99fe613811 fix: Panel mode cards with "Kiosk Mode" should fill the screen (#1838)
* Closes #1762
2025-01-18 19:06:09 -08:00
Dermot Duffy 4f76e6a18a fix: Add missing editor support for always_error_if_entity_unavailable (#1837)
- Closes #1775
2025-01-18 15:17:55 -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 57a687d659 fix: Restore camera layout support in image view (#1831)
* Closes #1804
2025-01-16 20:00:31 -08:00
Dermot Duffy 0911e83670 docs: Add the unknown command error to the troubleshooting docs (#1826)
- Closes #1799
2025-01-12 22:26:47 -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 1f37895793 fix: Prevent gallery auto-scrolling from scrolling entire browser (#1824)
- Closes #1814
2025-01-11 16:44:05 -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 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