clarify that the pin numbers are from BCM mode (#3264)

This took me a long time to figure out why it did not work.
This commit is contained in:
Olaf Conradi 2017-08-27 19:57:56 +02:00 committed by Franck Nijhof
parent 86107b8755
commit e43d637b2a

View File

@ -29,7 +29,7 @@ binary_sensor:
Configuration variables:
- **ports** array (*Required*): Array of used ports.
- **port: name** (*Required*): Port numbers and corresponding names.
- **port: name** (*Required*): Port numbers (BCM mode pin numbers) and corresponding names.
- **pull_mode** (*Optional*): The internal pull to use (UP or DOWN). Default is UP.
- **bouncetime** (*Optional*): The time in milliseconds for port debouncing. Default is 50ms.
- **invert_logic** (*Optional*): If true, inverts the output logic to ACTIVE LOW. Default is false (ACTIVE HIGH).