Add value_template to mqtt device trigger docs (#21211)

This commit is contained in:
James Myatt 2022-01-16 13:54:01 +00:00 committed by GitHub
parent 59cbb73907
commit 706548d801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,10 @@ device:
description: 'Identifier of a device that routes messages between this device and Home Assistant. Examples of such devices are hubs, or parent devices of a sub-device. This is used to show device topology in Home Assistant.'
required: false
type: string
value_template:
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the value."
required: false
type: template
{% endconfiguration %}
### Example