Fix incorrect type and default url_topic option mqtt image (#28015)

This commit is contained in:
Jan Bouwhuis 2023-06-29 22:59:11 +02:00 committed by Franck Nijhof
parent 49642bc1cd
commit d1ca1a5fa9
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -177,8 +177,7 @@ url_template:
url_topic: url_topic:
description: The MQTT topic to subscribe to receive an image URL. A `url_template` option can extract the URL from the message. The `content_type` will be derived from the image when downloaded. This option cannot be used together with the `image_topic` option, but at least one of these options is required. description: The MQTT topic to subscribe to receive an image URL. A `url_template` option can extract the URL from the message. The `content_type` will be derived from the image when downloaded. This option cannot be used together with the `image_topic` option, but at least one of these options is required.
required: exclusive required: exclusive
type: boolean type: string
default: false
{% endconfiguration %} {% endconfiguration %}
### Example receiving images from from a URL ### Example receiving images from from a URL