Skip to content

Pyscript 1.2.1 release

Compare
Choose a tag to compare
@craigbarratt craigbarratt released this 09 Feb 10:41
· 141 commits to master since this release

The 1.2.1 release contains several bug fixes:

  • Fixed @time_active so that ranges without dates (eg: plain sunrise, 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 from filter, 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!