From dc4d6a21008cb898d1cdc0e7a5c646c4e3cba88a Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 24 Feb 2022 18:42:21 +0100 Subject: [PATCH] Remove deprecated BeagleBone Black GPIO integration (#21771) --- source/_integrations/bbb_gpio.markdown | 126 ------------------------- source/_redirects | 7 +- 2 files changed, 4 insertions(+), 129 deletions(-) delete mode 100644 source/_integrations/bbb_gpio.markdown diff --git a/source/_integrations/bbb_gpio.markdown b/source/_integrations/bbb_gpio.markdown deleted file mode 100644 index 1e4eeb328fb..00000000000 --- a/source/_integrations/bbb_gpio.markdown +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: BeagleBone Black GPIO -description: Instructions on how to integrate the GPIO capability of a BeagleBone Black into Home Assistant. -ha_category: - - DIY - - Binary Sensor - - Switch -ha_release: 0.36 -ha_iot_class: Local Push -ha_domain: bbb_gpio -ha_platforms: - - binary_sensor - - switch ---- - -
- -This integration is deprecated and will be removed in Home Assistant Core 2022.4. - -For more information see: [Architectural Decision Record 0019](https://github.com/home-assistant/architecture/blob/master/adr/0019-GPIO.md). - -
- -The `bbb_gpio` integration is the base for all [BeagleBone Black](https://beagleboard.org/black) related GPIO platforms in Home Assistant. -There is no setup needed for the integration itself. - -## Binary Sensor - -The `bbb_gpio` binary sensor platform allows you to read sensor values of the GPIOs of your [BeagleBone Black](https://beagleboard.org/black). - -### Configuration - -To use your BeagleBone Black's GPIO in your installation, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -binary_sensor: - - platform: bbb_gpio - pins: - P8_12: - name: Door - GPIO0_26: - name: Window -``` - -{% configuration %} -pins: - description: List of used pins. - required: true - type: map - keys: - pin_name: - description: Port numbers and corresponding names. - required: true - type: map - keys: - name: - description: Friendly name to use for the frontend. - required: true - type: string - bouncetime: - description: Debounce time for reading input pin defined in milliseconds [ms]. - required: false - type: integer - default: 50 - invert_logic: - description: If `true`, inverts the input logic to ACTIVE LOW - required: false - type: boolean - default: false - pull_mode: - description: Type of internal pull resistor connected to input. Options are `UP` - pull-up resistor and `DOWN` - pull-down resistor. - required: false - type: string - default: UP -{% endconfiguration %} - -For more details about the GPIO layout, visit the [article](https://elinux.org/Beagleboard:BeagleBoneBlack) about the BeagleBone Black. - -## Switch - -The `bbb_gpio` switch platform allows you to control the GPIOs of your [BeagleBone Black](https://beagleboard.org/black). - -### Configuration - -To use your BeagleBone Black's GPIO in your installation, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -switch: - - platform: bbb_gpio - pins: - GPIO0_7: - name: LED Red - P9_12: - name: LED Green -``` - -{% configuration %} -pins: - description: List of used pins. - required: true - type: map - keys: - pin_name: - description: Port numbers and corresponding names. - required: true - type: map - keys: - name: - description: Friendly name to use for the frontend. - required: false - type: string - initial: - description: Initial state of the pin. - required: false - default: false - type: boolean - invert_logic: - description: If `true`, inverts the input logic to ACTIVE LOW - required: false - default: false - type: boolean -{% endconfiguration %} - -For more details about the GPIO layout, visit the [article](https://elinux.org/Beagleboard:BeagleBoneBlack) about the BeagleBone Black. diff --git a/source/_redirects b/source/_redirects index 227f8f2b9a0..3b322cee29a 100644 --- a/source/_redirects +++ b/source/_redirects @@ -127,7 +127,6 @@ /components/binary_sensor.aurora /integrations/aurora /components/binary_sensor.axis /integrations/axis#binary-sensor /components/binary_sensor.bayesian /integrations/bayesian -/components/binary_sensor.bbb_gpio /integrations/bbb_gpio#binary-sensor /components/binary_sensor.blink /integrations/blink /components/binary_sensor.bloomsky /integrations/bloomsky#binary-sensor /components/binary_sensor.bmw_connected_drive /integrations/bmw_connected_drive @@ -925,7 +924,6 @@ /components/switch.anel_pwrctrl /integrations/anel_pwrctrl /components/switch.aqualogic /integrations/aqualogic#switch /components/switch.arest /integrations/arest#switch -/components/switch.bbb_gpio /integrations/bbb_gpio#switch /components/switch.broadlink /integrations/broadlink#switch /components/switch.danfoss_air /integrations/danfoss_air#switch /components/switch.deconz /integrations/deconz#switch @@ -1125,7 +1123,6 @@ /components/azure_event_hub /integrations/azure_event_hub /components/baidu /integrations/baidu /components/bayesian /integrations/bayesian -/components/bbb_gpio /integrations/bbb_gpio /components/bbox /integrations/bbox /components/beewi_smartclim /integrations/beewi_smartclim /components/binary_sensor /integrations/binary_sensor @@ -2352,6 +2349,10 @@ /components/gntp /more-info/removed-integration 301 /components/notify.gntp /more-info/removed-integration 301 /integrations/gntp /more-info/removed-integration 301 +/components/bbb_gpio /more-info/removed-integration 301 +/components/binary_sensor.bbb_gpio /more-info/removed-integration 301 +/components/switch.bbb_gpio /more-info/removed-integration 301 +/integrations/bbb_gpio /more-info/removed-integration 301 /components/bh1750 /more-info/removed-integration 301 /components/sensor.bh1750 /more-info/removed-integration 301 /integrations/bh1750 /more-info/removed-integration 301