mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Add value_template to mqtt device trigger docs (#21211)
This commit is contained in:
parent
59cbb73907
commit
706548d801
@ -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.'
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
value_template:
|
||||||
|
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract the value."
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user