diff --git a/CODEOWNERS b/CODEOWNERS index 8f2b1501252..8a5602d422b 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -388,7 +388,6 @@ source/_integrations/ozw.markdown @cgarwood @marcelveldt @MartinHjelmare source/_integrations/p1_monitor.markdown @klaasnicolaas source/_integrations/panel_custom.markdown @home-assistant/frontend source/_integrations/panel_iframe.markdown @home-assistant/frontend -source/_integrations/pcal9535a.markdown @Shulyaka source/_integrations/persistent_notification.markdown @home-assistant/core source/_integrations/philips_js.markdown @elupus source/_integrations/pi_hole.markdown @fabaff @johnluetke @shenxn diff --git a/source/_integrations/pcal9535a.markdown b/source/_integrations/pcal9535a.markdown deleted file mode 100644 index 619c9f47dda..00000000000 --- a/source/_integrations/pcal9535a.markdown +++ /dev/null @@ -1,136 +0,0 @@ ---- -title: PCAL9535A I/O Expander -description: Instructions on how to integrate the PCAL9535A GPIO pin expander with I2C interface into Home Assistant. -ha_category: - - DIY - - Binary Sensor - - Switch -ha_release: 0.102 -ha_iot_class: Local Polling -ha_codeowners: - - '@Shulyaka' -ha_domain: pcal9535a -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 `pcal9535a` integration is the base for all related pcal9535a platforms in Home Assistant. There is no setup needed for the integration itself, for the platforms, please check their corresponding sections. - -One of the use cases is [Seeed studio Raspberry Pi Relay Board](http://wiki.seeedstudio.com/Raspberry_Pi_Relay_Board_v1.0/). - -For more details about the PCAL9535A I2C I/O port expander, you can find its datasheet here: [PCAL9535A](https://www.nxp.com/docs/en/data-sheet/PCAL9535A.pdf). - -## Binary Sensor - -The `pcal9535a` binary sensor platform allows you to read sensor values from the I/O pins of your [PCAL9535A I2C I/O expander](https://www.nxp.com/products/interfaces/ic-spi-serial-interface-devices/ic-general-purpose-i-o/low-voltage-16-bit-ic-bus-i-o-port-with-interrupt-and-agile-i-o:PCAL9535A). - -The pin numbers are from 0 to 15, where: 0-7 correspond to port P0 (P0_0 - P0_7) and 8-15 to port P1 (P1_0 - P1_7). - -### Configuration - -To use the I/O pins of an PCAL9535A connected to an I2C bus of your Raspberry Pi as binary sensors, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -binary_sensor: - - platform: pcal9535a - pins: - 0: PIR Office - 1: PIR Bedroom -``` - -{% configuration %} -i2c_bus: - description: i2c bus number of PCAL9535A chip. - required: false - type: integer - default: 1 -i2c_address: - description: i2c address of PCAL9535A chip. - required: false - type: integer - default: "`0x20`" -pins: - description: List of used pins. - required: true - type: map - keys: - "pin: name": - description: The pin numbers (from 0 to 15) and corresponding names. - required: true - type: [integer, string] -invert_logic: - description: If `true`, inverts the input logic to ACTIVE LOW. - required: false - type: boolean - default: "`false` (ACTIVE HIGH)" -pull_mode: - description: > - Type of internal pull resistor to use. - Options are `UP` - pull-up resistor, `DOWN` - pull-down resistor, `DISABLED` - resistors disconnected. - required: false - type: string - default: "`DISABLED`" -{% endconfiguration %} - -## Switch - -The `pcal9535a` switch platform allows you to write to the I/O pins of your [PCAL9535A I2C I/O expander](https://www.nxp.com/products/interfaces/ic-spi-serial-interface-devices/ic-general-purpose-i-o/low-voltage-16-bit-ic-bus-i-o-port-with-interrupt-and-agile-i-o:PCAL9535A). - -The pin numbers are from 0 to 15, where: 0-7 correspond to port P0 (P0_0 - P0_7) and 8-15 to port P1 (P1_0 - P1_7). - -### Configuration - -To use the I/O pins of a PCAL9535A connected to an I2C bus of your Raspberry Pi as switches, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -switch: - - platform: pcal9535a - pins: - 11: Fan Office - 12: Light Desk -``` - -{% configuration %} -i2c_bus: - description: i2c bus number of PCAL9535A chip. - required: false - type: integer - default: 1 -i2c_address: - description: i2c address of PCAL9535A chip. - required: false - type: integer - default: "`0x20`" -pins: - description: Array of used pins. - required: true - type: list - keys: - pin: - description: The pin numbers (from 0 to 15) and corresponding names. - required: true - type: [integer, string] -invert_logic: - description: If true, inverts the output logic to ACTIVE LOW. - required: false - default: false - type: boolean -strength: - description: > - Control the output drive level of the GPIO. Each GPIO can be configured independently to one of the four possible output current levels. By programming these bits, the user is changing the number of transistor pairs or ‘fingers’ that drive the I/O pad. - Options are `0.25`, `0.5`, `0.75`, `1.0`. - required: false - default: "`1.0`" - type: string -{% endconfiguration %} diff --git a/source/_redirects b/source/_redirects index 311d9b7580f..f0a12587424 100644 --- a/source/_redirects +++ b/source/_redirects @@ -2354,6 +2354,7 @@ /components/light.piglow /more-info/removed-integration 301 /components/piglow /more-info/removed-integration 301 /integrations/piglow /more-info/removed-integration 301 +/integrations/pcal9535a /more-info/removed-integration 301 /components/bme680 /more-info/removed-integration 301 /components/sensor.bme680 /more-info/removed-integration 301 /integrations/bme680 /more-info/removed-integration 301