From c5e48dbb42913bd24f064a95cad113414c6955b9 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 cdfacbf3b588..f0d65d61c43c 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 f17191e174b5..2509b8a05f30 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 5f591567008a..45b6fc1a5a70 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.