fix lambda entries in the script docs (#2390)

This commit is contained in:
Samuel Sieb 2022-10-26 14:10:27 -07:00 committed by GitHub
parent 3c45f1b3ec
commit d7699cd495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -734,7 +734,7 @@ or as lambda
.. code-block:: yaml .. code-block:: yaml
lambda: 'id(my_script).execute(); lambda: 'id(my_script).execute();'
.. _script-stop_action: .. _script-stop_action:
@ -795,12 +795,7 @@ of the script are running in parallel, this will block until all of them have te
- script.execute: my_script - script.execute: my_script
- script.wait: my_script - script.wait: my_script
or as lambda This can't be used in a lambda as it would block all functioning of the device. The script wouldn't even get to run.
.. code-block:: yaml
lambda: |-
id(my_script).execute();
.. _script-is_running_condition: .. _script-is_running_condition: