From a07e670fa685171b97e06bfcef3b5a8763052f14 Mon Sep 17 00:00:00 2001 From: Tertius Date: Sun, 28 Apr 2019 23:48:21 +0200 Subject: [PATCH] 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 * :pencil2: Tweak --- source/_components/binary_sensor.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/binary_sensor.mqtt.markdown b/source/_components/binary_sensor.mqtt.markdown index b766216f130..6b045b509e7 100644 --- a/source/_components/binary_sensor.mqtt.markdown +++ b/source/_components/binary_sensor.mqtt.markdown @@ -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: