Use configuration template (#4920)

This commit is contained in:
PhracturedBlue 2018-03-14 20:41:03 -07:00 committed by Paulus Schoutsen
parent e050bcaa61
commit fd27ef1749

View File

@ -29,17 +29,46 @@ camera:
max_image_width: 720 max_image_width: 720
``` ```
Configuration variables: {% configuration %}
entity_id:
- **entity_id** (*Required*): The ID of another Home Assistant camera to post-process. description: The ID of another Home Assistant camera to post-process.
- **name** (*Optional*): This parameter allows you to override the name of your camera. required: true
- **max_image_width** (*Optional*): The maximum width of single images taken from the camera (aspect ratio will be maintained). type: string
- **max_stream_width** (*Optional*): The maximum width of the MJPEG stream from the camera (aspect ratio will be maintained). name:
- **image_quality** (*Optional*): The quality level used for resulting JPEG for snapshots (default: 75). description: This parameter allows you to override the name of your camera.
- **stream_quality** (*Optional*): The quality level used for resulting MJPEG streams (default: 75). required: false
- **image_refresh_rate** (*Optional*): The minimum time in seconds between generating successive image snapshots. type: string
- **force_resize** (*Optional*): Resize the image even if the resulting image would take up more bandwidth than the original. max_image_width:
- **cache_images** (*Optional*): Preserve the last image and re-send in the case the camera is not responding. description: The maximum width of single images taken from the camera (aspect ratio will be maintained).
required: false
type: integer
max_stream_width:
description: The maximum width of the MJPEG stream from the camera (aspect ratio will be maintained).
required: false
type: integer
image_quality:
description: The quality level used for resulting JPEG for snapshots.
required: false
type: integer
default: 75
stream_quality:
description: The quality level used for resulting MJPEG streams.
required: false
type: integer
default: 75
image_refresh_rate:
description: The minimum time in seconds between generating successive image snapshots.
required: false
type: float
force_resize:
description: Resize the image even if the resulting image would take up more bandwidth than the original.
required: false
type: boolean
cache_images:
description: Preserve the last image and re-send in the case the camera is not responding.
required: false
type: boolean
{% endconfiguration %}
## {% linkable_title Examples %} ## {% linkable_title Examples %}