What's Changed
- chore: move to blitz-py 0.7.0 by @adrienbrault in #311
- fix: read a locked lock as off, not as on by @KuljeetSinghXDA in #305
- fix: keep a display's screens lined up when an assigned view is gone by @KuljeetSinghXDA in #304
- fix: keep the Pro album until the uploaded frame is in it by @KuljeetSinghXDA in #306
- fix: show option changes on their entities before the render by @allanbrault in #313
New Contributors
- @allanbrault made their first contribution in #313
Full Changelog: 1.9.5...1.9.6
Highlights
blitz-py 0.7.0
The rendering engine moves to 0.7.0, built from the blitz-py branch of adrienbrault/blitz (upstream plus the fork's outline-offset and ellipsis fixes; Stylo 0.24, Parley 0.13, vello_cpu 0.4). No Python API change.
Text moves by about 1px; layouts, sizes, truncation and colours are unchanged — 220 of 368 samples change by a pixel or so. Each comparison below shows before, after, and the pixels that differ.
For HTML widgets, 0.7.0 paints text-shadow, background-clip: text, filter: blur() and drop-shadow(), and draws the "…" for text-overflow: ellipsis on a single nowrap line. The vinyl record's offset box-shadow now turns with the record.
A locked lock reads as off
ON_STATES listed both locked and unlocked — the two opposite states of a lock — so a Status tile bound to a lock could never show its off state: always the on-text, always the success colour. A lock now follows Home Assistant's own reading, where unlocked is the active state. The sample generator had its labels reversed for the same reason.
| 1.9.5 — a garage door standing open, painted LOCKED in green | 1.9.6 — OPEN in red, with the open-padlock icon |
|---|---|
|
|
Display bookkeeping
- Screens stay lined up when an assigned view is gone. A display's rotation index now counts the views the layout was actually built from, instead of shifting by one behind a missing view.
- The Pro album keeps the frame it just uploaded.
keep_only_imagedeleted the other album files before checking the listing it had just fetched, so a lagging listing could take the new frame with it.
Option changes reach their entities immediately
Turning Rotate views on left the switch on while the strip still read "Rotation is off: tap a view to show it", and the interval field lagged the pick. Option-backed entities only wrote state at the end of the next render and upload; they now update before the refresh. The demo below is the same Playwright script on main (left) and on the fix (right), polling what Home Assistant reports for View Cycling and the interval every 100 ms.
before-vs-after.mp4



