Skip to content

Commit

Permalink
[custom] Remove platforms (#4598)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbx81 authored Jan 21, 2025
1 parent 229768c commit b561a36
Show file tree
Hide file tree
Showing 22 changed files with 27 additions and 1,739 deletions.
14 changes: 14 additions & 0 deletions _redirects
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
/components/sensor/mmc5063.html /components/sensor/mmc5603.html 301
/components/sensor/kalman_combinator.html /components/sensor/combination.html 301

/components/binary_sensor/custom* /guides/contributing#a-note-about-custom-components 301
/components/climate/custom* /guides/contributing#a-note-about-custom-components 301
/components/cover/custom* /guides/contributing#a-note-about-custom-components 301
/components/light/custom* /guides/contributing#a-note-about-custom-components 301
/components/output/custom* /guides/contributing#a-note-about-custom-components 301
/components/sensor/custom* /guides/contributing#a-note-about-custom-components 301
/components/switch/custom* /guides/contributing#a-note-about-custom-components 301
/components/text_sensor/custom* /guides/contributing#a-note-about-custom-components 301
/custom/custom_component* /guides/contributing#a-note-about-custom-components 301
/custom/i2c* /guides/contributing#a-note-about-custom-components 301
/custom/index* /guides/contributing#a-note-about-custom-components 301
/custom/spi* /guides/contributing#a-note-about-custom-components 301
/custom/uart* /guides/contributing#a-note-about-custom-components 301

/cookbook/brilliant-mirabella-genio-smart-plugs.html https://devices.esphome.io/devices/Mirabella-Genio-Wi-Fi-1-USB 301
/cookbook/zemismart-rgbw-downlights.html https://devices.esphome.io/devices/Zemismart-LED-RGBWW-Downlight 301
/cookbook/relay.html https://devices.esphome.io/devices/Generic-Relay 301
Expand Down
2 changes: 1 addition & 1 deletion changelog/v1.14.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Notable Changes & New Features
generated using automated scripts. This is a big step towards making the API more flexible, for
example cross-device communication (:esphomepr:`633`).
- New class :apiclass:`api::CustomAPIDevice` to declare user-defined services straight from custom components.
See the updated :doc:`custom component guide </custom/custom_component>`.
See the updated custom component guide.
- :ref:`Sensors <config-sensor>` have a new ``force_update`` option (:esphomepr:`783`).
- Add GPIO Switch :ref:`interlock_wait_time <switch-gpio-interlocking>` (:esphomepr:`777`).
- Add a configurable priority for WiFi network selection (:esphomepr:`658`, :doc:`docs </components/wifi>`).
Expand Down
87 changes: 0 additions & 87 deletions components/binary_sensor/custom.rst

This file was deleted.

105 changes: 0 additions & 105 deletions components/climate/custom.rst

This file was deleted.

103 changes: 0 additions & 103 deletions components/cover/custom.rst

This file was deleted.

11 changes: 5 additions & 6 deletions components/esphome.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Advanced options:
as default one in case it is mounted to it.
- **platformio_options** (*Optional*, mapping): Additional options to pass over to PlatformIO in the
platformio.ini file. See :ref:`esphome-platformio_options`.
- **includes** (*Optional*, list of files): A list of C/C++ files to include in the main (auto-generated) sketch file
for custom components. The paths in this list are relative to the directory where the YAML configuration file
is in. See :ref:`esphome-includes`.
- **includes** (*Optional*, list of files): A list of C/C++ files to include in the (auto-generated) ``main`` file.
The paths in this list are relative to the directory where the YAML configuration file is located. See
:ref:`esphome-includes`.
- **libraries** (*Optional*, list of libraries): A list of libraries to include in the project. See
:ref:`esphome-libraries`.
- **comment** (*Optional*, string): Additional text information about this node. Only for display in UI.
Expand Down Expand Up @@ -221,9 +221,8 @@ This option behaves differently depending on what the included file is pointing
``libraries``
-------------

With the ``libraries`` option it is possible to include libraries in the PlatformIO project. These libraries will then
be compiled into the resulting firmware, and can be used in code from :ref:`lambdas <config-lambda>` and from
custom components.
The ``libraries`` option allows you to include libraries in the PlatformIO project. These libraries will then be
compiled into the resulting firmware and may be used by :ref:`lambdas <config-lambda>`.

.. code-block:: yaml
Expand Down
Loading

0 comments on commit b561a36

Please sign in to comment.