From e4e0c083c2c5a150b488914deca9a65e81aeb70c Mon Sep 17 00:00:00 2001 From: Quentame Date: Mon, 13 May 2024 21:52:43 +0000 Subject: [PATCH] picture cards: add person image support --- source/_dashboards/picture-elements.markdown | 8 ++++++++ source/_dashboards/picture-entity.markdown | 2 +- source/_dashboards/picture-glance.markdown | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/source/_dashboards/picture-elements.markdown b/source/_dashboards/picture-elements.markdown index 95e27f1d8b50..1fe1a57b2795 100644 --- a/source/_dashboards/picture-elements.markdown +++ b/source/_dashboards/picture-elements.markdown @@ -36,6 +36,14 @@ image: required: true description: The URL of an image.
To use a locally hosted image, see [Hosting](/integrations/http#hosting-files). type: string +image_entity: + required: false + description: Image entity to display. + type: string +person_entity: + required: false + description: Person entity to display. + type: string camera_image: required: false description: A camera entity. diff --git a/source/_dashboards/picture-entity.markdown b/source/_dashboards/picture-entity.markdown index aee7b6513908..73d163e2b0db 100644 --- a/source/_dashboards/picture-entity.markdown +++ b/source/_dashboards/picture-entity.markdown @@ -32,7 +32,7 @@ type: type: string entity: required: true - description: "An `entity_id` used for the picture." + description: "A camera, image or person `entity_id` used for the picture." type: string camera_image: required: false diff --git a/source/_dashboards/picture-glance.markdown b/source/_dashboards/picture-glance.markdown index 2589acb08c5a..9ba1db300549 100644 --- a/source/_dashboards/picture-glance.markdown +++ b/source/_dashboards/picture-glance.markdown @@ -42,6 +42,14 @@ image: required: false description: Background image URL. type: string +image_entity: + required: false + description: Image entity to display. + type: string +person_entity: + required: false + description: Person entity to display. + type: string camera_image: required: false description: Camera entity as Background image.