From 79ace6b8902b87eab8b52a4770788e4469e65ad6 Mon Sep 17 00:00:00 2001 From: mstuczko <108606523+mstuczko@users.noreply.github.com> Date: Tue, 21 Jan 2025 09:45:14 +0100 Subject: [PATCH] Update api.rst - lambda example for condition connected (#4596) --- components/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/api.rst b/components/api.rst index 530130265..71cafc774 100644 --- a/components/api.rst +++ b/components/api.rst @@ -295,6 +295,8 @@ if logs are shown remotely. then: - logger.log: API is connected! +The lambda equivalent for this is ``id(api_id).is_connected()``. + .. _api-device-actions: User-defined Actions