From 9ec573b4f7254908f0904b63b9db94c474b262c1 Mon Sep 17 00:00:00 2001 From: Pascal Roeleven Date: Fri, 19 Apr 2019 13:26:24 +0200 Subject: [PATCH] Change configuration for orangepi (#9252) * Update orangepi_gpio.markdown * Update orangepi_gpio.markdown --- source/_components/orangepi_gpio.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_components/orangepi_gpio.markdown b/source/_components/orangepi_gpio.markdown index 08635c73fc0..1cdb9709981 100644 --- a/source/_components/orangepi_gpio.markdown +++ b/source/_components/orangepi_gpio.markdown @@ -28,15 +28,15 @@ To use your Orange Pi's GPIO in your installation, add the following to your `co # Example configuration.yaml entry binary_sensor: - platform: orangepi_gpio - pinmode: pc + pin_mode: pc ports: 11: PIR Office 12: PIR Bedroom ``` {% configuration %} -pinmode: - description: Type of pinmode to use. This depends on which device you are actually using it ([PINMODE](/components/orangepi_gpio#pinmode)). +pin_mode: + description: Type of pin mode to use. This depends on which device you are actually using ([PIN_MODE](/components/orangepi_gpio#pin_mode)). required: true type: string ports: @@ -57,9 +57,9 @@ invert_logic: Compared to the [Raspberry Pi GPIO](/components/rpi_gpio/) component, this component does not support pull-up resistors or port debouncing. Use external pull-ups and external port-debouncing. -## {% linkable_title Pinmode %} +## {% linkable_title Pin_mode %} -As this platform supports different types of GPIO pinouts for difference Orange Pi or Nano Pi devices, we use the `pinmode` value to specify which one to use. Enabled values are: +As this platform supports different types of GPIO pinouts for difference Orange Pi or Nano Pi devices, we use the `pin_mode` value to specify which one to use. Enabled values are: | Value | Description | | ----- | ----------- |