Commit Graph
126 Commits
Author SHA1 Message Date
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 a4417e8a3d perf: Only trigger a state change if the state is definitely different (#1569) 2024-09-22 13:18:50 -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 7fd6bc6bee fix: Timeline window should match selected events for media views (#1555) 2024-09-21 15:39:18 -07:00
Dermot Duffy e5cbfa9976 fix: Assume conditions are state conditions unless otherwise specified (#1552) 2024-09-21 13:41:13 -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
Dermot Duffy 650d99ec00 fix: Fix initialization race condition that occurs in certain circumstances (#1545)
* fix: Fix initialization race condition in certain circumstances

* Minor improvements and camera iris logo
2024-09-19 19:42:38 -07:00
Felipe Santos af4666e023 feat: Add microphone_connect action (#1537) 2024-09-15 20:17:48 -07:00
Dermot Duffy 03ff02083d fix: Show the menu even if the view is not yet initialized (#1541) 2024-09-15 19:52:23 -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 f944dee82c ci: Add initial semantic-release configuration (#1528) 2024-09-14 15:47:42 -07:00
Dermot Duffy d3754b0c34 Fix test name typo 2024-09-13 07:51:33 -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 1a0e219c61 Move automatic media actions out of carousels 2024-09-07 15:04:23 -07:00
Dermot Duffy 8344734e2b Remove optimization that caused scrubbing misbehavior 2024-08-26 20:55:02 -07:00
Dermot Duffy 76a750ff73 Small test fixes. 2024-08-26 20:08:59 -07:00
Dermot Duffy 4712a320b8 Fix auto media action problem . 2024-08-26 16:36:44 -07:00
Dermot Duffy 91ffe0656b Don't run automations prior to initialization . 2024-08-26 14:35:16 -07:00
Dermot Duffy 09a15ab785 Fix recording timezone issue. 2024-08-26 13:10:19 -07:00
Dermot Duffy 2412cc5ac8 Merge pull request #1503 from dermotduffy/adoption
Fix query adopt bug
2024-08-26 12:44:05 -07:00
Dermot Duffy ca405e9e3e Fix query adopt bug. 2024-08-26 12:40:29 -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 ef7b4b0ddf Formatting pass. 2024-07-30 02:23:51 -07:00
Dermot Duffy d5c4e56c45 Refactor views to support dynamic updates. 2024-07-26 19:15:38 -07:00
Dermot Duffy 8c7c2c8c18 Use an automation to change view to default. 2024-06-11 19:48:39 -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 fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy 08ba2ee0b1 Hide the ptz_home button. Likely not important enough for most users. 2024-06-05 22:12:42 -07:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Felipe Santos 1a36ce0894 Update date-fns and date-fns-tz to v3 2024-06-05 22:37:54 -03:00
Dermot Duffy 7d831f90db Ensure automations check for HA conditions. 2024-04-27 20:15:48 -07:00
Dermot Duffy 7917e5c537 Add support for pre-defined zoom/pan settings. 2024-04-27 14:55:38 -07:00
Dermot Duffy c630b9f221 Fix menu hide bug causing menu background to stay even when hidden. 2024-04-15 16:46:03 -07:00
Dermot Duffy 5f4943e190 Add tests. 2024-04-15 16:26:47 -07:00
Dermot Duffy b4ed40e6c7 Fix controls and seeking bugs. 2024-04-14 19:47:44 -07:00
Dermot Duffy 842240021d Fix media autoplay. 2024-04-14 18:37:18 -07:00
Dermot Duffy 323925101d Add support for more advanced forms of overriding 2024-04-13 18:23:11 -07:00
Dermot Duffy 18bbe3a641 Fix element tests. 2024-04-07 21:24:35 -07:00
Dermot Duffy 9c9548afc8 Fix card-wide actions. 2024-04-07 21:18:55 -07:00
Dermot Duffy f67620397f Set timeline to now not to most recent event. 2024-04-07 20:21:09 -07:00
Dermot Duffy 7d2dd74838 Refactor menu buttons controller into different functions. 2024-04-04 15:02:33 -07:00
Dermot Duffy 02a469fb43 Only show download button in media viewer. 2024-04-02 13:03:00 -07:00
Dermot Duffy bde4e6cd38 Add support for configuration profiles. 2024-03-28 21:41:48 -07:00
Dermot Duffy 95c44adcf1 Allow camera capabilities to be configured. 2024-03-26 21:00:15 -07:00
Dermot Duffy 463f4bf32a Add ability to set timeline pan mode via config. 2024-03-10 20:40:18 -07:00
Dermot Duffy 829f411acc Convert conditions to HA style. 2024-03-10 18:09:17 -07:00