mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Corrected sensor to binary_sensor
This commit is contained in:
parent
c17103c3c1
commit
a6b848085e
@ -122,7 +122,7 @@ The meaning of the `alarm_level` entity depends on the nature of the alarm senso
|
|||||||
If your device has an `access_control` entity, but not a `binary_sensor` equivalent, you can use a [template binary sensor](omponents/binary_sensor.template/) to create one:
|
If your device has an `access_control` entity, but not a `binary_sensor` equivalent, you can use a [template binary sensor](omponents/binary_sensor.template/) to create one:
|
||||||
|
|
||||||
```
|
```
|
||||||
sensor:
|
binary_sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
YOUR_SENSOR:
|
YOUR_SENSOR:
|
||||||
@ -151,7 +151,7 @@ sensor:
|
|||||||
If your device has an `burglar` entity, but not a `binary_sensor` equivalent, you can use a [template binary sensor](omponents/binary_sensor.template/) to create one:
|
If your device has an `burglar` entity, but not a `binary_sensor` equivalent, you can use a [template binary sensor](omponents/binary_sensor.template/) to create one:
|
||||||
|
|
||||||
```
|
```
|
||||||
sensor:
|
binary_sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
YOUR_SENSOR:
|
YOUR_SENSOR:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user