Fix syntax in the script.is_running lambda example (#2564)

This commit is contained in:
Lukáš Maňas 2022-12-22 14:55:37 +01:00 committed by GitHub
parent b07aa7325a
commit 22d9e6c4bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -861,7 +861,7 @@ or as lambda
.. code-block:: yaml
lambda: -|
if(id(my_script).is_running() {
if (id(my_script).is_running()) {
ESP_LOGI("main", "Script is running!");
}