Skip to content

Commit ddfe8de

Browse files
azogueballoob
authored andcommitted
add content_type option to generic camera (home-assistant#2887)
1 parent a293361 commit ddfe8de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/_components/camera.generic.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Configuration variables:
3535
- **password** (*Optional*): The password for accessing your camera.
3636
- **authentication** (*Optional*): Type for authenticating the requests `basic` (default) or `digest`.
3737
- **limit_refetch_to_url_change** (*Optional*): True/false value (default: false). Limits refetching of the remote image to when the url changes. Only relevant if using a template to fetch the remote image.
38+
- **content_type** (*Optional*): Set the content type for the IP camera if it is not a jpg file (default: `image/jpeg`). Use `image/svg+xml` to add a dynamic svg file.
3839

3940
<p class='img'>
4041
<a href='/cookbook/google_maps_card/'>

0 commit comments

Comments
 (0)