Skip to content

Commit 79140a3

Browse files
committed
added short description of global_ctx reload parameter
1 parent 3be71ae commit 79140a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/configuration.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ Configuration
1818
1919
- Add files with a suffix of ``.py`` in the folder ``<config>/pyscript``.
2020
- Restart HASS after installing pyscript.
21-
- Whenever you change a script file or configuration, make a ``reload`` service call to ``pyscript``.
21+
- Whenever you change a script file, app or configuration, make a ``reload`` service call to ``pyscript``.
22+
To reload just one file or app, use the optional ``global_ctx`` parameter (eg, ``file.example`` to
23+
just reload ``example.py`` or ``apps.my_app1`` to just reload ``apps/my_app1.py``).
2224
- Watch the HASS log for ``pyscript`` errors and logger output from your scripts.

0 commit comments

Comments
 (0)