Pyscript 1.5.0 release
The 1.5.0 release supports the HASS 2023.7 and 2023.8 beta releases, and should be backward compatible with older versions.
This release has several updates and bug fixes:
- Service calls no longer support the optional
limit
keyword timeout argument (whenblocking=True
), since it was removed in HASS 2023.7. - Added
translations/de.json
language file (see #462 from @anwirs). - Boolean
or
now returnsFalse
not 0 when subexpressions areFalse
(see issue #469 from @redlefloh). - Directly access hass.data[DATA_RESTORE_STATE] to avoid deprecated api; this is a hack and I need a better fix (see #473 from @slomanl1).
- Added support for service responses (see #495 from @matzman666).
- Fix import of HASS
Event
following change to 2023.8 beta (see #500 from @rccoleman). - Log warning if user calls time.sleep(), which blocks, and call asyncio.sleep() instead.
- Bump the required version of the
watchdog
module to 2.3.1, which matches the required version in thefolder_watcher
integration in 2023.7. - Bump Python to version to 3.11 for tests, and updated various versions of packages.
Thanks to everyone who contributed PRs and reported issues.
Enjoy!