From 10861d95abb342e784f0de223b29f5af4cc2e137 Mon Sep 17 00:00:00 2001 From: akasma74 Date: Sun, 28 Apr 2019 22:40:06 +0100 Subject: [PATCH] update value_template description (#9276) Description of value_template updated to clarify its return return value and relationship with device_class --- source/_components/binary_sensor.template.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/binary_sensor.template.markdown b/source/_components/binary_sensor.template.markdown index 4fbb5a6bae4..3d9d17c7b71 100644 --- a/source/_components/binary_sensor.template.markdown +++ b/source/_components/binary_sensor.template.markdown @@ -60,7 +60,7 @@ sensors: type: device_class default: None value_template: - description: Defines a template to set the state of the sensor. + description: The sensor is `on` if the template evaluates as `True` and `off` otherwise. The actual appearance in the frontend (`Open`/`Closed`, `Detected`/`Clear` etc) depends on the sensor’s device_class value required: true type: template icon_template: