mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +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
|
||||
description: The URL of an image.<br/>To use a locally hosted image, see [Hosting](/integrations/http#hosting-files).
|
||||
type: string
|
||||
image_entity:
|
||||
required: false
|
||||
description: Image or person entity to display.
|
||||
type: string
|
||||
camera_image:
|
||||
required: false
|
||||
description: A camera entity.
|
||||
|
@ -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
|
||||
|
@ -42,6 +42,10 @@ image:
|
||||
required: false
|
||||
description: Background image URL.
|
||||
type: string
|
||||
image_entity:
|
||||
required: false
|
||||
description: Image or person entity to display.
|
||||
type: string
|
||||
camera_image:
|
||||
required: false
|
||||
description: Camera entity as Background image.
|
||||
|
@ -34,6 +34,10 @@ image:
|
||||
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`."
|
||||
type: string
|
||||
image_entity:
|
||||
required: false
|
||||
description: Image or person entity to display.
|
||||
type: string
|
||||
alt_text:
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user