mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +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
|
||||
---
|
||||
|
||||
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
|
||||
# Example configuration.yaml entry
|
||||
|
Loading…
x
Reference in New Issue
Block a user