mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
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:
parent
5ae391513e
commit
10861d95ab
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user