Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

picture cards: add person image support #32733

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/_dashboards/picture-elements.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion source/_dashboards/picture-entity.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions source/_dashboards/picture-glance.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions source/_dashboards/picture.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down