Pyscript 1.2.1 release
The 1.2.1 release contains several bug fixes:
- Fixed
@time_active
so that ranges without dates (eg: plainsunrise
,sunset
or fixed times) work correctly on days after HASS was started. Reported by @markwhibbard; fix confirmed by @markwhibbard and @patrickfnielsen; see #149. lambda
functions are now compiled so they are native python lambda functions that can be called fromfilter
,map
or anywhere that expects a regular python function. Reported by Greg sj3fk3.- Raise an exception when a local variable is used before setting. Previously if a variable of the same name was defined globally, it was incorrectly used instead.
- Minor documentation fix regarding yaml file includes, submitted by @wsw70; see #153, #154.
Enjoy!