mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-24 17:08:15 +01:00
Fix syntax in the script.is_running lambda example (#2564)
This commit is contained in:
parent
b07aa7325a
commit
22d9e6c4bc
@ -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!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user