mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-08 09:56:52 +00:00
Add MQTT camera image_encoding config parameter (#23626)
This commit is contained in:
parent
6915d42714
commit
b857e7e5fc
@ -132,10 +132,10 @@ enabled_by_default:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
encoding:
|
encoding:
|
||||||
description: The encoding of the image payloads received. Set to `"b64"` to enable base64 decoding of image payload. If not set, or if set to `null`, the image payload must be raw binary data.
|
description: The encoding of the payloads received. Set to `""` to disable decoding of incoming payload. Use `image_encoding` to enable `Base64` decoding on `topic`.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: null
|
default: "utf-8"
|
||||||
entity_category:
|
entity_category:
|
||||||
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity.
|
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity.
|
||||||
required: false
|
required: false
|
||||||
@ -145,6 +145,11 @@ icon:
|
|||||||
description: "[Icon](/docs/configuration/customizing-devices/#icon) for the entity."
|
description: "[Icon](/docs/configuration/customizing-devices/#icon) for the entity."
|
||||||
required: false
|
required: false
|
||||||
type: icon
|
type: icon
|
||||||
|
image_encoding:
|
||||||
|
description: The encoding of the image payloads received. Set to `"b64"` to enable base64 decoding of image payload. If not set, the image payload must be raw binary data.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: None
|
||||||
json_attributes_template:
|
json_attributes_template:
|
||||||
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the JSON dictionary from messages received on the `json_attributes_topic`."
|
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the JSON dictionary from messages received on the `json_attributes_topic`."
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user