From fa9a49e8089113acf9fe04dcabfb871ef441b1b9 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 11 Sep 2024 21:45:51 +0000 Subject: [PATCH] Add note about service -> action change --- components/api.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/api.rst b/components/api.rst index 398c46b146..87984041c6 100644 --- a/components/api.rst +++ b/components/api.rst @@ -293,6 +293,13 @@ if logs are shown remotely. User-defined Actions -------------------- +.. note:: + + **Actions** were previously called **Services**. ESPHome changed the name in line with + `Home Assistant `__ + but will continue to support YAML with ``services`` for the foreseeable future. Documentation + will only refer to **Actions**. + It is also possible to get data from Home Assistant to ESPHome with user-defined actions. When you declare actions in your ESPHome YAML file, they will automatically show up in Home Assistant and you can call them directly.