Skip to content

Commit

Permalink
add content_type option to generic camera (home-assistant#2887)
Browse files Browse the repository at this point in the history
  • Loading branch information
azogue authored and balloob committed Jun 25, 2017
1 parent a293361 commit ddfe8de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/_components/camera.generic.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Configuration variables:
- **password** (*Optional*): The password for accessing your camera.
- **authentication** (*Optional*): Type for authenticating the requests `basic` (default) or `digest`.
- **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.
- **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.

<p class='img'>
<a href='/cookbook/google_maps_card/'>
Expand Down

0 comments on commit ddfe8de

Please sign in to comment.