Minimize configuration sample

This commit is contained in:
Fabian Affolter 2017-01-22 11:28:02 +01:00
parent e7efa6899f
commit 1b7caca5af
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -25,9 +25,6 @@ binary_sensor:
name: Door
GPIO0_26:
name: Window
bouncetime: 100
invert_logic: true
pull_mode: UP
```
Configuration variables:
@ -36,8 +33,8 @@ Configuration variables:
- **pin_name** (*Required*): Pin numbers and corresponding names.
- **name** (*Required*): Friendly name to use for the frontend.
- **bouncetime** (*Optional*): Debounce time for reading input pin defined in miliseconds [ms]. Defaults to `50 ms`.
- **invert_logic** (*Optional*): If true, inverts the input logic to ACTIVE LOW. Default is `false` (ACTIVE HIGH).
- **pull_mode** (*Optional*): Type of internal pull resistor connected to input. Options are 'UP' - pull-up resistor and 'DOWN' - pull-down resistor. Defaults to `UP`.
- **invert_logic** (*Optional*): If `true`, inverts the input logic to ACTIVE LOW. Default is `false` (ACTIVE HIGH).
- **pull_mode** (*Optional*): Type of internal pull resistor connected to input. Options are `UP` - pull-up resistor and `DOWN` - pull-down resistor. Defaults to `UP`.
For more details about the GPIO layout, visit the [article](http://elinux.org/Beagleboard:BeagleBoneBlack) about the BeagleBone Black.