Fix configuration sample

This commit is contained in:
Fabian Affolter 2017-03-17 13:31:22 +01:00
parent 724f4e4050
commit c7a23644de
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336
2 changed files with 12 additions and 12 deletions

View File

@ -19,12 +19,12 @@ To use your BeagleBone Black's GPIO in your installation, add the following to y
```yaml
# Example configuration.yaml entry
binary_sensor:
- platform: bbb_gpio
pins:
P8_12:
name: Door
GPIO0_26:
name: Window
- platform: bbb_gpio
pins:
P8_12:
name: Door
GPIO0_26:
name: Window
```
Configuration variables:

View File

@ -19,12 +19,12 @@ To use yourBeagleBone Black's GPIO in your installation, add the following to yo
```yaml
# Example configuration.yaml entry
switch:
- platform: bbb_gpio
pins:
GPIO0_7:
name: LED Red
P9_12:
name: LED Green
- platform: bbb_gpio
pins:
GPIO0_7:
name: LED Red
P9_12:
name: LED Green
```
Configuration variables: