Update remote_rpi_gpio.markdown

This commit is contained in:
jgriff2 2019-05-26 14:54:40 -07:00 committed by GitHub
parent 0f37cbda36
commit 28aa919d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,21 +30,16 @@ To use your Remote Raspberry Pi's GPIO in your installation, add the following t
# Example configuration.yaml entry
binary_sensor:
- platform: remote_rpi_gpio
address: <address of remote pi>
ports:
11: PIR Office
12: PIR Bedroom
```
or
```yaml
# Example configuration.yaml entry
remote_rpi_gpio:
host: 10.0.1.9
binary_sensors:
6: Pin6
switches:
4: Pin4
switch:
- platform: remote_rpi_gpio
address: <address of remote pi>
ports:
4: Garage Relay
```
{% configuration %}