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 # Example configuration.yaml entry
binary_sensor: binary_sensor:
- platform: remote_rpi_gpio - platform: remote_rpi_gpio
address: <address of remote pi>
ports: ports:
11: PIR Office 11: PIR Office
12: PIR Bedroom 12: PIR Bedroom
```
or switch:
- platform: remote_rpi_gpio
```yaml address: <address of remote pi>
# Example configuration.yaml entry ports:
remote_rpi_gpio: 4: Garage Relay
host: 10.0.1.9
binary_sensors:
6: Pin6
switches:
4: Pin4
``` ```
{% configuration %} {% configuration %}