Skip to content

Commit 67e739d

Browse files
committed
Update docs
1 parent 4405b15 commit 67e739d

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

docs/media-sources.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,32 +92,36 @@ Valid values are:
9292
exclude_media_orientation: auto
9393
```
9494

95-
## Entity with entity_picture attribute
96-
If an entity has the `entity_picture` attribute you can use it as media source for the screensaver.
97-
To do this, set `image_url` to `media-entity://<entity_id>`, replacing `<entity_id>` with the entity's name.
98-
When the entity's status changes, a new image is automatically loaded.
99-
Additionally, a new image is loaded after the configured `display_time` has elapsed.
100-
If you prefer not to load a new image when the entity state remains unchanged, set `media_entity_load_unchanged` to `false`.
95+
## Media Entity
10196

102-
Example:
97+
### Images
98+
99+
You can use an entity's `entity_picture` attribute as the media source for the screensaver.
100+
To do this, set the `image_url` to `media-entity-image://<entity_id>`, replacing `<entity_id>` with the actual entity ID.
101+
102+
When the entity's state changes, a new image will automatically be displayed. A new image also loads after the specified `display_time` has passed.
103+
If you'd like to prevent image updates when the entity state remains the same, set `media_entity_load_unchanged` to `false`.
104+
105+
**Example:**
103106

104107
```yaml
105108
display_time: 15
106-
image_url: media-entity://camera.my_camera_entity_id
109+
image_url: media-entity-image://camera.my_camera_entity_id
107110
media_entity_load_unchanged: true
108111
```
109112

110-
With the `entity_picture` you can combine this integration with the [Google Photos Integration](https://github.com/Daanoz/ha-google-photos) extension from [Daanoz](https://github.com/Daanoz) to display your photos.
113+
### Video Stream
111114

112-
Example:
115+
If an entity provides a video stream, you can use it as the screensaver media source.
116+
To enable this, set `image_url` to `media-entity-video://<entity_id>`, replacing `<entity_id>` with the appropriate entity ID.
117+
118+
**Example:**
113119

114120
```yaml
115-
image_url: media-entity://camera.google_photos_favorites_media
121+
image_url: media-entity-video://camera.my_camera_entity_id
122+
media_entity_load_unchanged: false
116123
```
117124

118-
See [Google Photos Integration README](https://github.com/Daanoz/ha-google-photos#lovelace-wall-panel) for details.
119-
120-
121125
## Immich API
122126
Images and videos can be loaded from an Immich server,
123127
for which WallPanel accesses the [Immich API](https://immich.app/docs/api/).

0 commit comments

Comments
 (0)