Skip to content

Commit c7a2364

Browse files
committed
Fix configuration sample
1 parent 724f4e4 commit c7a2364

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

source/_components/binary_sensor.bbb_gpio.markdown

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ To use your BeagleBone Black's GPIO in your installation, add the following to y
1919
```yaml
2020
# Example configuration.yaml entry
2121
binary_sensor:
22-
- platform: bbb_gpio
23-
pins:
24-
P8_12:
25-
name: Door
26-
GPIO0_26:
27-
name: Window
22+
- platform: bbb_gpio
23+
pins:
24+
P8_12:
25+
name: Door
26+
GPIO0_26:
27+
name: Window
2828
```
2929
3030
Configuration variables:

source/_components/switch.bbb_gpio.markdown

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ To use yourBeagleBone Black's GPIO in your installation, add the following to yo
1919
```yaml
2020
# Example configuration.yaml entry
2121
switch:
22-
- platform: bbb_gpio
23-
pins:
24-
GPIO0_7:
25-
name: LED Red
26-
P9_12:
27-
name: LED Green
22+
- platform: bbb_gpio
23+
pins:
24+
GPIO0_7:
25+
name: LED Red
26+
P9_12:
27+
name: LED Green
2828
```
2929
3030
Configuration variables:

0 commit comments

Comments
 (0)