From 80c2fb71ac56f1c0b2056a2e3267b29f19991ee0 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sat, 16 Oct 2021 21:17:56 -0700 Subject: [PATCH] README updates. --- README.md | 7 +++++-- src/editor.ts | 9 +++++++++ src/localize/languages/en.json | 3 ++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 56d1763a..a8ca4491 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,9 @@ A full-featured Frigate Lovelace card: * Automatic updating to continually show latest clip / snapshot. * Support for filtering events by zone and label. * Arbitrary entity access via menu (e.g. motion sensor access). -* Fullscreen event gallery & media viewing. -* Full Lovelace editing support. +* Fullscreen mode. +* Lovelace visual editing support. +* Full [Picture Elements](https://www.home-assistant.io/lovelace/picture-elements/) support. * Theme friendly. * **Advanced**: Support for [WebRTC](https://github.com/AlexxIT/WebRTC) live viewing by embedding the WebRTC card. @@ -100,6 +101,7 @@ lovelace: | `controls.nextprev` | `thumbnails` | When viewing media, what kind of controls to show to move to the previous/next media item. Acceptable values: `thumbnails`, `chevrons`, `none` . | | `dimensions.aspect_ratio_mode` | `dynamic` | The aspect ratio mode to use. Acceptable values: `dynamic`, `static`, `unconstrained`. See [aspect ratios](#aspect-ratios) below.| | `dimensions.aspect_ratio` | `16:9` | The aspect ratio to use. Acceptable values: `:` or `/`. See [aspect ratios](#aspect-ratios) below.| +| `image` | [embedded image](https://www.flickr.com/photos/dianasch/47543120431) | A static image URL for use with the `image` [view](#views).| @@ -417,6 +419,7 @@ This card supports several different views. |`snapshot`|Shows the most recent snapshot for this camera/zone/label.| |`clips`|Shows the clip gallery for this camera/zone/label.| |`clip`|Shows the most recent clip for this camera/zone/label.| +|`image`|Shows a static image specified by the `image` parameter, can be used as a discrete default view or a screensaver (via `view_timeout`).| ### Automatic updates in the `clip` or `snapshot` view diff --git a/src/editor.ts b/src/editor.ts index 76e6fd9d..d1795c9f 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -339,6 +339,15 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor .configValue=${'dimensions.aspect_ratio'} @value-changed=${this._valueChanged} > +