Skip to content

Commit 809dbde

Browse files
authored
correct kwarg for pyscript.reload
1 parent 51b3d8b commit 809dbde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/new_features.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ The new features since 0.32 in master include:
4040
installed on HASS startup and pyscript reload. Contributed by @raman325 (#66, #68, #69).
4141
- State variable attributes can be set by direct assignment, eg: ``DOMAIN.name.attr = value``. A
4242
equivalent new function ``state.setattr()`` allows a specific attribute to be set.
43-
- The reload service now takes an optional parameter ``global_ctx_only`` that specifies just that
44-
global context is reloaded, eg: ``global_ctx_only="file.my_scripts"``. Proposed by @dlashua (#63).
43+
- The reload service now takes an optional parameter ``global_ctx`` that specifies just that
44+
global context is reloaded, eg: ``global_ctx="file.my_scripts"``. Proposed by @dlashua (#63).
4545
- The ``state.get_attr()`` function has been renamed ``state.getattr()``. The old function is
4646
still available and will be removed in some future release.
4747
- Entities ``DOMAIN.ENTITY`` now support a virtual method ``SERVICE`` (eg, ``DOMAIN.ENTITY.SERVICE()``)

0 commit comments

Comments
 (0)