Commit Graph
38 Commits
Author SHA1 Message Date
Dermot Duffy 54ee1e1cf3 fix: Improve reliability of connection cleanup (#2009)
- Closes #1992
2025-04-14 16:58:17 +01:00
Dermot Duffy d6225fefda refactor: Break apart monolithic configuration schema (#1977)
[skip ci]
2025-03-22 15:06:11 -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 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 faa5ec3eec refactor: Refactor internal error / info message components (#1842) 2025-01-20 15:26:53 -08:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Dermot Duffy b08a8f55c3 Fix minor type errors. 2024-03-07 06:46:02 -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 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 fd74c1c855 Add initial support for automations. 2023-05-04 19:54:41 -07:00
Dermot Duffy b10b0e6072 Add native PTZ element. 2022-08-16 21:27:10 -07:00
Dermot Duffy ffa31c05ed Clean lit-plugin warnings 2022-06-19 07:30:08 +00:00
Dermot Duffy 10c2e746b2 Don't re-render the whole card for conditionState. 2022-06-12 17:56:25 -07:00
Dermot Duffy e9dde20a76 Allow the image view to trigger a card resize. 2022-06-11 16:28:59 -07:00
Dermot Duffy 7ebada9aa5 Initial draft of recordings support. 2022-06-04 11:04:38 -07:00
Dermot Duffy 6b30487229 Initial common.js refactor. 2022-05-12 20:42:02 -07:00
Dermot Duffy 47e2f47b58 Update the elements root when the config changes. 2022-05-09 16:34:06 -07:00
Dermot Duffy 28292483fc Add native select entity support. 2022-05-08 15:58:56 -07:00
Dermot Duffy 050399a517 Codereview fixes. 2022-05-01 12:53:30 -07:00
Dermot Duffy dafaae7fe4 First attempt to add state to frigate card conditions. 2022-04-30 21:39:29 -07:00
Dermot Duffy af07624e51 Retire use of @query and use ref univerally. 2022-04-18 19:20:03 -07:00
Dermot Duffy 98e2a89a41 Remove superfluous imports. 2022-04-18 18:08:46 -07:00
Dermot Duffy 22c2b022e7 Avoid use of ExtendedHomeAssistant wherever possible. 2022-04-18 18:04:51 -07:00
Dermot Duffy 70ee05168f Create a means of re-rendering the card based on external state. 2022-02-17 19:34:12 -08:00
Dermot Duffy 93ff4d8445 Initial submenu support. 2021-12-17 18:08:07 -08:00
Dermot Duffy c7506c9ee0 Add menu conditions. 2021-11-14 15:32:25 -08:00
Dermot Duffy fc3033a0fe Add support for card and view actions. 2021-11-13 20:50:11 -08:00
Dermot Duffy 19291ae184 Allow custom actions to control the frigate card. 2021-11-10 07:45:59 -08:00
Dermot Duffy 66ae262654 Implement downloading and correct MediaShow events in carousel. 2021-10-29 16:36:36 -07:00
Dermot Duffy e5b1deb334 Various build extension fixes. 2021-10-24 07:57:28 -07:00
Dermot Duffy 031d9362d6 Fix element rendering. 2021-10-18 22:30:44 -07:00
Dermot Duffy 7f76543bbd Add frigate-card-conditional element to select views. 2021-10-09 23:33:54 -07:00
Dermot Duffy 9a915af390 Better integrate elements into stock HA custom element support. 2021-10-09 15:52:52 -07:00
Dermot Duffy 49455ab741 Add picture elements support. 2021-10-07 21:16:16 -07:00