update value_template description (#9276)

Description of value_template updated to clarify its return return value and relationship with device_class
This commit is contained in:
akasma74 2019-04-28 22:40:06 +01:00 committed by Klaas Schoute
parent 5ae391513e
commit 10861d95ab

View File

@ -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 sensors device_class value
required: true
type: template
icon_template: