From f20a2083ee02da85b0dae6278d8c071a37c2bd7b Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Tue, 29 Jul 2025 12:52:33 -0700 Subject: [PATCH] Add media-source instructions to picture card (#40191) --- source/_dashboards/picture.markdown | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/_dashboards/picture.markdown b/source/_dashboards/picture.markdown index 25770bf6605..ff8e4906d79 100644 --- a/source/_dashboards/picture.markdown +++ b/source/_dashboards/picture.markdown @@ -32,7 +32,7 @@ type: type: string 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`." + 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`. To use an image from an existing [media](/integrations/media_source/) directory, provide the full media-source identifier (see examples)." type: string image_entity: required: false @@ -85,3 +85,10 @@ tap_action: data: entity_id: light.ceiling_lights ``` + +Show an image from a [media](/integrations/media_source/) directory: + +```yaml +type: picture +image: media-source://media_source/local/test.jpg +```