From 28aa919d0b67d303c0ba40ad2154a8116c0c8255 Mon Sep 17 00:00:00 2001 From: jgriff2 Date: Sun, 26 May 2019 14:54:40 -0700 Subject: [PATCH] Update remote_rpi_gpio.markdown --- source/_components/remote_rpi_gpio.markdown | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/source/_components/remote_rpi_gpio.markdown b/source/_components/remote_rpi_gpio.markdown index 9cc1eef6b6b..ab7112f0eb8 100644 --- a/source/_components/remote_rpi_gpio.markdown +++ b/source/_components/remote_rpi_gpio.markdown @@ -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:
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:
+ ports: + 4: Garage Relay ``` {% configuration %}