mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 11:16:54 +00:00
Update binary_sensor.template.markdown (#2233)
Minor clarification and touch ups
This commit is contained in:
parent
59e9deece1
commit
45b63cc1b9
@ -11,9 +11,9 @@ ha_category: Binary Sensor
|
|||||||
logo: home-assistant.png
|
logo: home-assistant.png
|
||||||
---
|
---
|
||||||
|
|
||||||
The `template` platform supports sensors which breaks out the state and `state_attributes` from other entities.
|
The `template` platform supports sensors which breaks out the `state` and `state_attributes` from other entities. The state of a template binary sensor can only be `on` or `off`.
|
||||||
|
|
||||||
To enable Template binary sensors in your installation, add the following to your `configuration.yaml` file:
|
To enable template binary sensors in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user