Add comment to value_template option (#9256)

* Add comment to value_template option

When accidently included in the config (as seen in many examples) it may cause a trivial sensor item not to work for a neewbie of HA like me

* ✏️ Tweak
This commit is contained in:
Tertius 2019-04-28 23:48:21 +02:00 committed by Klaas Schoute
parent 8ca332c5fc
commit a07e670fa6

View File

@ -86,7 +86,7 @@ device_class:
required: false
type: string
value_template:
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload. Available variables: `entity_id`."
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload. Available variables: `entity_id`. Remove this option when 'payload_on' and 'payload_off' are sufficient to match your payloads."
required: false
type: string
force_update: