Skip to content

correct kwarg for pyscript.reload #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/new_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ The new features since 0.32 in master include:
installed on HASS startup and pyscript reload. Contributed by @raman325 (#66, #68, #69).
- State variable attributes can be set by direct assignment, eg: ``DOMAIN.name.attr = value``. A
equivalent new function ``state.setattr()`` allows a specific attribute to be set.
- The reload service now takes an optional parameter ``global_ctx_only`` that specifies just that
global context is reloaded, eg: ``global_ctx_only="file.my_scripts"``. Proposed by @dlashua (#63).
- The reload service now takes an optional parameter ``global_ctx`` that specifies just that
global context is reloaded, eg: ``global_ctx="file.my_scripts"``. Proposed by @dlashua (#63).
- The ``state.get_attr()`` function has been renamed ``state.getattr()``. The old function is
still available and will be removed in some future release.
- Entities ``DOMAIN.ENTITY`` now support a virtual method ``SERVICE`` (eg, ``DOMAIN.ENTITY.SERVICE()``)
Expand Down