diff --git a/components/cover/he60r.rst b/components/cover/he60r.rst index e5eb064be..0d10c2916 100644 --- a/components/cover/he60r.rst +++ b/components/cover/he60r.rst @@ -26,8 +26,8 @@ below for a sample hardware interface. baud_rate: 1200 parity: even stop_bits: 1 - tx_pin: REPLACEME - rx_pin: REPLACEME + tx_pin: GPIOXX + rx_pin: GPIOXX cover: platform: he60r @@ -72,9 +72,9 @@ Note that this circuit inverts the TX line. A configuration for this would look parity: even stop_bits: 1 tx_pin: - number: REPLACEME + number: GPIOXX inverted: true - rx_pin: REPLACEME + rx_pin: GPIOXX cover: platform: he60r @@ -84,7 +84,7 @@ Note that this circuit inverts the TX line. A configuration for this would look binary_sensor: - platform: gpio pin: - number: REPLACEME + number: GPIOXX inverted: true mode: input: true diff --git a/components/dfrobot_sen0395.rst b/components/dfrobot_sen0395.rst index 22df5be6c..6a678272c 100644 --- a/components/dfrobot_sen0395.rst +++ b/components/dfrobot_sen0395.rst @@ -36,7 +36,7 @@ a :doc:`/components/uart` component (and its requisite GPIO pins) is required in name: Mmwave Detected via GPIO device_class: motion pin: - number: REPLACEME + number: GPIOXX mode: INPUT_PULLDOWN switch: @@ -97,7 +97,7 @@ If you don't want/need to change the radar's settings and only need to determine name: Presence Detected via GPIO device_class: motion pin: - number: REPLACEME + number: GPIOXX mode: INPUT_PULLDOWN .. _dfrobot_sen0395-via_uart: diff --git a/components/micronova.rst b/components/micronova.rst index f350588c2..9bbb00f3a 100644 --- a/components/micronova.rst +++ b/components/micronova.rst @@ -55,7 +55,7 @@ Component/Hub .. code-block:: yaml micronova: - enable_rx_pin: REPLACEME + enable_rx_pin: GPIOXX Configuration variables: ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/components/output/my9231.rst b/components/output/my9231.rst index c195b46dd..2ae5eda40 100644 --- a/components/output/my9231.rst +++ b/components/output/my9231.rst @@ -94,7 +94,7 @@ complete configuration for a Sonoff B1 looks like: .. code-block:: yaml esphome: - name: REPLACEME + name: GPIOXX esp8266: board: esp01_1m @@ -135,7 +135,7 @@ complete configuration for a Sonoff B1 looks like: light: - platform: rgbww - name: REPLACEME + name: GPIOXX red: output_red green: output_green blue: output_blue @@ -149,7 +149,7 @@ And here is a complete configuration for the AiThinker AiLight: .. code-block:: yaml esphome: - name: REPLACEME + name: GPIOXX esp8266: board: esp01_1m @@ -187,7 +187,7 @@ And here is a complete configuration for the AiThinker AiLight: light: - platform: rgbw - name: REPLACEME + name: GPIOXX red: output_red green: output_green blue: output_blue diff --git a/components/output/sm16716.rst b/components/output/sm16716.rst index d8e8bd856..88a8ab60c 100644 --- a/components/output/sm16716.rst +++ b/components/output/sm16716.rst @@ -93,8 +93,8 @@ A complete configuration for a Feit Electric A19 looks like: .. code-block:: yaml esphome: - name: REPLACEME - friendly_name: REPLACEME + name: GPIOXX + friendly_name: GPIOXX esp8266: board: esp01_1m diff --git a/components/sensor/ld2410.rst b/components/sensor/ld2410.rst index 385749b1e..acc4b4823 100644 --- a/components/sensor/ld2410.rst +++ b/components/sensor/ld2410.rst @@ -454,7 +454,7 @@ under account, you can set up a :ref:`GPIO Binary Sensor `: binary_sensor: - platform: gpio - pin: REPLACEME + pin: GPIOXX name: gpio out pin presence device_class: presence diff --git a/components/touchscreen/cst226.rst b/components/touchscreen/cst226.rst index 8ac6328ef..26c4ed8bd 100644 --- a/components/touchscreen/cst226.rst +++ b/components/touchscreen/cst226.rst @@ -33,12 +33,27 @@ Configuration variables: ************************ - **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen. -- **interrupt_pin** (**Required**, :ref:`Pin Schema `): The touch detection pin. -- **rotation** (*Optional*): Set the rotation of the touchscreen. By default this will be set to match the display associated with the touchscreen, but this allows more control. Choices are ``0``, ``90``, ``180`` and ``270``. +- **interrupt_pin** (*Optional*, :ref:`Pin Schema `): The touch detection pin. +- **reset_pin** (*Optional*, :ref:`Pin Schema `): The chip reset pin. - All other options from :ref:`Touchscreen `. +Sample config for the T4-S3 +*************************** + +.. code-block:: yaml + + i2c: + sda: GPIO6 + scl: GPIO7 + + touchscreen: + - platform: cst226 + id: my_touchscreen + interrupt_pin: GPIO8 + reset_pin: GPIO17 + See Also -------- diff --git a/components/touchscreen/cst816.rst b/components/touchscreen/cst816.rst index 53e13aaeb..b37e20c24 100644 --- a/components/touchscreen/cst816.rst +++ b/components/touchscreen/cst816.rst @@ -36,7 +36,7 @@ Configuration variables: - **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen. - **interrupt_pin** (*Optional*, :ref:`Pin Schema `): The touch detection pin. -- **reset_pin** (**Optional**, :ref:`Pin Schema `): The chip reset pin. +- **reset_pin** (*Optional*, :ref:`Pin Schema `): The chip reset pin. - All other options from :ref:`Touchscreen `. @@ -61,6 +61,19 @@ Configuration variables: - All other options from :ref:`Binary Sensor `. +Sample config for the T-Display S3 AMOLED +***************************************** + +.. code-block:: yaml + + i2c: + sda: GPIO3 + scl: GPIO2 + + touchscreen: + - platform: cst816 + id: my_touchscreen + interrupt_pin: GPIO21 See Also -------- diff --git a/components/touchscreen/gt911.rst b/components/touchscreen/gt911.rst index 517563f50..484660afd 100644 --- a/components/touchscreen/gt911.rst +++ b/components/touchscreen/gt911.rst @@ -33,8 +33,7 @@ Configuration variables: ************************ - **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen. -- **interrupt_pin** (**Required**, :ref:`Pin Schema `): The touch detection pin. -- **rotation** (*Optional*): Set the rotation of the touchscreen. By default this will be set to match the display associated with the touchscreen, but this allows more control. Choices are ``0``, ``90``, ``180`` and ``270``. +- **interrupt_pin** (*Optional*, :ref:`Pin Schema `): The touch detection pin. - All other options from :ref:`Touchscreen `. diff --git a/components/touchscreen/lilygo_t5_47.rst b/components/touchscreen/lilygo_t5_47.rst index 24673c618..3a1c3e2b1 100644 --- a/components/touchscreen/lilygo_t5_47.rst +++ b/components/touchscreen/lilygo_t5_47.rst @@ -15,7 +15,7 @@ The :ref:`I²C ` is required to be set up in your configuration for this to # Example configuration entry touchscreen: - platform: lilygo_t5_47 - interrupt_pin: GPIO13 + interrupt_pin: GPIOXX Configuration variables: diff --git a/components/touchscreen/xpt2046.rst b/components/touchscreen/xpt2046.rst index 77db1dfba..c89801efb 100644 --- a/components/touchscreen/xpt2046.rst +++ b/components/touchscreen/xpt2046.rst @@ -60,17 +60,17 @@ Base Configuration: - **threshold** (*Optional*, int): The value to detect the touch or release. Defaults to ``400``. -- **calibration_x_min** (*Depricated*): This value is moved to the ``calibration`` values +- **calibration_x_min** (*Deprecated*): This value is moved to the ``calibration`` values -- **calibration_x_max** (*Depricated*): This value is moved to the ``calibration`` values. +- **calibration_x_max** (*Deprecated*): This value is moved to the ``calibration`` values. -- **calibration_y_min** (*Depricated*): This value is moved to the ``calibration`` values. +- **calibration_y_min** (*Deprecated*): This value is moved to the ``calibration`` values. -- **calibration_y_max** (*Depricated*): This value is moved to the ``calibration`` values. +- **calibration_y_max** (*Deprecated*): This value is moved to the ``calibration`` values. -- **swap_x_y** (*Depricated*): This value is moved to the ``transform`` values as ``swap_xy`` see :ref:`config-touchscreen`. +- **swap_x_y** (*Deprecated*): This value is moved to the ``transform`` values as ``swap_xy`` see :ref:`config-touchscreen`. -- **report_interval** (*Depricated*): This interval is removed in favor of the ``update_interval``. +- **report_interval** (*Deprecated*): This interval is removed in favor of the ``update_interval``. - All other options from :ref:`config-touchscreen`.