Corrected sensor to binary_sensor

This commit is contained in:
DubhAd 2017-10-25 21:09:15 +01:00 committed by GitHub
parent c17103c3c1
commit a6b848085e

View File

@ -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: