From 9e813e3e1854b0504e6de69c90feb151371c22a9 Mon Sep 17 00:00:00 2001 From: Will Latourelle Date: Sun, 10 May 2020 21:37:17 -0700 Subject: [PATCH] updated readme for images --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83168a5..04d9611 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ Configuration for Animated Background goes into the root of your Lovelace config | views | list ([views](#view-configuration)) | **Optional** | Allows you to set custom configurations per view | groups | list ([group](#group-configuration)) | **Optional** | Allows you to set custom configurations that can be referenced in lovelace view configurations | entity | string | **Optional** | Entity to check for state changes -| state_url | map | **Optional** | Map of states and video urls. Any mp4 video link will work, even relative `/local/` links. Using locally stored videos will greatly improve loading times. It is recommended to 'cinemagraphs', these videos are only a few seconds long and are meant to loop . Set to 'none' to disable background for the defined state (see example). You can either define a single url or an array. If an array is defined then a random video will be selected from that array. Required if `entity` is defined. +| state_url | map | **Optional** | Map of states and video or image urls. Any mp4, webm, or image link will work, even relative `/local/` links. Using locally stored videos will greatly improve loading times. It is recommended to 'cinemagraphs', these videos are only a few seconds long and are meant to loop . Set to 'none' to disable background for the defined state (see example). You can either define a single url or an array. If an array is defined then a random video will be selected from that array. Required if `entity` is defined. | included_users | list (string) | **Optional** | List of users that will display animated background. If this option is set any users not included in this list will be excluded. | included_devices | list (string) | **Optional** | List of devices that will display animated background. If this option is set any devices not included in this list will be excluded. Ex: iphone, ipad, windows, macintosh, android | excluded_users | list (string) | **Optional** | Users to be excluded @@ -314,7 +314,7 @@ views: | default_url | string or list(string) | **Optional** | If no matching state is found, this is the fallback video url. You can either define a single url or an array. If an array is defined then a random video will be selected from that array. | enabled | bool | **Optional** | Set to false to disable Animated Background | entity | string | **Optional** | Entity to check for state changes -| state_url | map | **Optional** | Map of states and video urls. Any mp4 video link will work, even relative `/local/` links. Using locally stored videos will greatly improve loading times. It is recommended to 'cinemagraphs', these videos are only a few seconds long and are meant to loop . Set to 'none' to disable background for the defined state (see example). You can either define a single url or an array. If an array is defined then a random video will be selected from that array. Required if `entity` is defined. +| state_url | map | **Optional** | Map of states and video or image urls. Any mp4, webm, or image will work, even relative `/local/` links. Using locally stored videos will greatly improve loading times. It is recommended to 'cinemagraphs', these videos are only a few seconds long and are meant to loop . Set to 'none' to disable background for the defined state (see example). You can either define a single url or an array. If an array is defined then a random video will be selected from that array. Required if `entity` is defined. | included_users | list (string) | **Optional** | List of users that will display animated background. If this option is set any users not included in this list will be excluded. | included_devices | list (string) | **Optional** | List of devices that will display animated background. If this option is set any devices not included in this list will be excluded. Ex: iphone, ipad, windows, macintosh, android | excluded_users | list (string) | **Optional** | Users to be excluded