Skip to content

Pyscript 2.1.1 release

Latest

Choose a tag to compare

@craigbarratt craigbarratt released this 02 Nov 05:22
· 11 commits to master since this release

The 2.1.1 release supports HASS 2026.5+, including 2026.11.

This is a hotfix release. HASS 2026.11 changed some internals that pyscript uses, which causes pyscript to fail to set up. This release fixes that, plus a few other bugs since 2.1.0.

Summary of changes:

  • Fixed pyscript failing to set up on HASS 2026.11 with 'RestoreStateData' object has no attribute 'last_states' (PR #883 from @markfrancisonly; fixes #882)
  • Kept the invalid keyword argument message for unknown decorator keywords on HASS 2026.11, which replaces voluptuous with probatio
  • Fixed scripts not reloading when saved by editors that write to a temp file and then rename it (PR #872 from @dmamelin; fixes #871)
  • Fixed the IDE stub generator dropping nested service fields after HASS renamed advanced_fields to additional_fields (PR #867 from @dmamelin; fixes #866)
  • Relaxed the croniter and watchdog requirements to allow newer versions
  • Test updates, including a restore_state test from PR #884 by @raman325, and fixes so the test suite also passes on HASS 2026.11

The release includes contributions from @markfrancisonly, @dmamelin, and @raman325. Thanks to everyone who contributed PRs and reported issues.

Enjoy!