Skip to content

Commit 2e14c32

Browse files
committed
Document use_entity_picture option for picture-entity card
Add documentation for the new use_entity_picture option that allows picture-entity cards to display the entity's entity_picture attribute for all entity types, not just person and image domains. This complements frontend PR home-assistant/frontend#51553
1 parent 3240a97 commit 2e14c32

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/_dashboards/picture-entity.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ entity:
3636
required: true
3737
description: "A camera, image, or person `entity_id` used for the picture."
3838
type: string
39+
use_entity_picture:
40+
required: false
41+
description: "Use the entity's `entity_picture` attribute as the card image. Useful for entities that dynamically set their picture (e.g., update entities showing component logos, custom integrations). The configured static `image` remains as a fallback when the `entity_picture` attribute is not present."
42+
type: boolean
43+
default: false
3944
camera_image:
4045
required: false
4146
description: "Camera `entity_id` to use. (not required if `entity` is already a camera-entity)."
@@ -118,6 +123,16 @@ entity: light.bed_light
118123
image: /local/bed_light.png
119124
```
120125
126+
Using an entity's `entity_picture` attribute (e.g., update entities showing component logos):
127+
128+
```yaml
129+
type: picture-entity
130+
entity: update.home_assistant_core_update
131+
use_entity_picture: true
132+
show_state: true
133+
show_name: true
134+
```
135+
121136
Different images for each state (supports local, web, or `media-source://` URLs):
122137

123138
```yaml

0 commit comments

Comments
 (0)