Add note about service -> action change (#4244)

This commit is contained in:
Jesse Hills 2024-09-12 10:11:50 +12:00 committed by GitHub
parent 9c78d967eb
commit 922ec42bf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,13 @@ The ESPHome native API is based on a custom TCP protocol using protocol buffers.
the protocol data structure definitions here: `api.proto <https://github.com/esphome/esphome/blob/dev/esphome/components/api/api.proto>`__ the protocol data structure definitions here: `api.proto <https://github.com/esphome/esphome/blob/dev/esphome/components/api/api.proto>`__
A Python library that implements this protocol is `aioesphomeapi <https://github.com/esphome/aioesphomeapi>`__. A Python library that implements this protocol is `aioesphomeapi <https://github.com/esphome/aioesphomeapi>`__.
.. note::
**Actions** were previously called **Services**. ESPHome changed the name in line with
`Home Assistant <https://developers.home-assistant.io/blog/2024/07/16/service-actions/>`__
but will continue to support YAML with ``services`` and ``homeassistant.service`` for the foreseeable future.
Documentation will only refer to **Actions**.
.. code-block:: yaml .. code-block:: yaml
# Example configuration entry # Example configuration entry