@@ -21,7 +21,7 @@ The new features since 0.32 in master include:
21
21
- The ``hass `` object is available in all pyscript global contexts if the ``hass_is_global `` configuration parameter
22
22
is true (default false). This allows access to HASS internals that might not be otherwise exposed by pyscript.
23
23
Use with caution (#51).
24
- - Improvements to UI config flow, including allows parameters to be updated, and the UI reload now works the same
24
+ - Improvements to UI config flow, including allowing parameters to be updated, and the UI reload now works the same
25
25
as the ``pyscript.reload `` service call, submitted by @raman325 (#53)
26
26
- State variables now support virtual attributes ``last_changed `` and ``last_updated `` for the UTC time when state
27
27
values or any attribute was last changed.
@@ -40,11 +40,13 @@ The new features since 0.32 in master include:
40
40
installed on HASS startup and pyscript reload. Contributed by @raman325 (#66, #68, #69).
41
41
- State variable attributes can be set by direct assignment, eg: ``DOMAIN.name.attr = value ``. A
42
42
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
45
- The ``state.get_attr() `` function has been renamed ``state.getattr() ``. The old function is
44
46
still available and will be removed in some future release.
45
47
- Entities ``DOMAIN.ENTITY `` now support a virtual method ``SERVICE `` (eg, ``DOMAIN.ENTITY.SERVICE() ``)
46
- that calls a service ``DOMAIN.SERVICE `` for any service that has an ``entity_id `` parameter.
47
- Proposed by @dlashua (#64).
48
+ that calls the service ``DOMAIN.SERVICE `` for any service that has an ``entity_id `` parameter, with
49
+ that `` entity_id `` set to `` DOMAIN.ENTITY ``. Proposed by @dlashua (#64).
48
50
49
51
The bug fixes since 0.32 in master include:
50
52
0 commit comments