Specified how the sensor values get populated (#1809)

* Specified how the sensor values get populated

* Update template.rst

* Update template.rst

Reword things a little

Co-authored-by: Flaviu Tamas <me@flaviutamas.com>
This commit is contained in:
spacemanspiff2007 2022-01-21 04:25:29 +01:00 committed by GitHub
parent b7b082cba1
commit e869ce49cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ Template Binary Sensor
:image: description.svg :image: description.svg
The ``template`` binary sensor platform allows you to define any :ref:`lambda template <config-lambda>` The ``template`` binary sensor platform allows you to define any :ref:`lambda template <config-lambda>`
and construct a binary sensor out if it. and construct a binary sensor out if it. The lambda will run continuously; it isn't possible to specify
an interval at which the lambda runs.
For example, below configuration would turn the state of an ultrasonic sensor into For example, below configuration would turn the state of an ultrasonic sensor into
a binary sensor. a binary sensor.