mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
picture cards: add person image support (#32733)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
f0abf38ba0
commit
e5f1aef9e0
@ -36,6 +36,10 @@ image:
|
|||||||
required: true
|
required: true
|
||||||
description: The URL of an image.<br/>To use a locally hosted image, see [Hosting](/integrations/http#hosting-files).
|
description: The URL of an image.<br/>To use a locally hosted image, see [Hosting](/integrations/http#hosting-files).
|
||||||
type: string
|
type: string
|
||||||
|
image_entity:
|
||||||
|
required: false
|
||||||
|
description: Image or person entity to display.
|
||||||
|
type: string
|
||||||
camera_image:
|
camera_image:
|
||||||
required: false
|
required: false
|
||||||
description: A camera entity.
|
description: A camera entity.
|
||||||
|
@ -32,7 +32,7 @@ type:
|
|||||||
type: string
|
type: string
|
||||||
entity:
|
entity:
|
||||||
required: true
|
required: true
|
||||||
description: "An `entity_id` used for the picture."
|
description: "A camera, image, or person `entity_id` used for the picture."
|
||||||
type: string
|
type: string
|
||||||
camera_image:
|
camera_image:
|
||||||
required: false
|
required: false
|
||||||
|
@ -42,6 +42,10 @@ image:
|
|||||||
required: false
|
required: false
|
||||||
description: Background image URL.
|
description: Background image URL.
|
||||||
type: string
|
type: string
|
||||||
|
image_entity:
|
||||||
|
required: false
|
||||||
|
description: Image or person entity to display.
|
||||||
|
type: string
|
||||||
camera_image:
|
camera_image:
|
||||||
required: false
|
required: false
|
||||||
description: Camera entity as Background image.
|
description: Camera entity as Background image.
|
||||||
|
@ -34,6 +34,10 @@ image:
|
|||||||
required: true
|
required: true
|
||||||
description: "The URL of an image. When you want to store images in your Home Assistant installation use the [hosting files documentation](/integrations/http/#hosting-files). After storing your files, use the `/local` path, for example, `/local/filename.jpg`."
|
description: "The URL of an image. When you want to store images in your Home Assistant installation use the [hosting files documentation](/integrations/http/#hosting-files). After storing your files, use the `/local` path, for example, `/local/filename.jpg`."
|
||||||
type: string
|
type: string
|
||||||
|
image_entity:
|
||||||
|
required: false
|
||||||
|
description: Image or person entity to display.
|
||||||
|
type: string
|
||||||
alt_text:
|
alt_text:
|
||||||
required: false
|
required: false
|
||||||
description: Alternative text for the image. This is necessary for users of assistive technology. The [W3C images tutorial](https://www.w3.org/WAI/tutorials/images/) provides simple guidance for writing alternative text.
|
description: Alternative text for the image. This is necessary for users of assistive technology. The [W3C images tutorial](https://www.w3.org/WAI/tutorials/images/) provides simple guidance for writing alternative text.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user