Skip to content

v5.0.3

Choose a tag to compare

@kdinya kdinya released this 21 Aug 09:44
· 10 commits to main since this release

v5.0.3

  • Fixed: the valve/pipes could render "stuck" at the wrong (larger) scale after rotating the phone, especially in HA masonry/grid dashboards. Root cause: the phone/tablet breakpoint used a viewport-width @media query, but the browser viewport and the card's actual column width can diverge on rotation. Replaced with a CSS @container query based on the card's own rendered width, plus a ResizeObserver that forces an immediate redraw on any real size change.
  • Fixed: empty gaps between the water and the valve body when valve/pipes scales differ. Water boundaries are now measured from the valve graphic's actual on-screen position instead of a fixed formula that assumed both were always scaled together.
  • Fixed: leak-sensor blocks weren't reliably square in some WebViews. Replaced flex + aspect-ratio with CSS Grid (grid-template-columns: 1fr 2fr 1fr) for a reliable 1:1 square in every engine.
  • Changed: renamed animations_enabled to disable_animations — the old field's editor label described the opposite of its actual behavior. disable_animations: true now unambiguously means animations are off. Old configs are auto-migrated on load.
  • Note: if a tool reports only seeing up to v4.x, that's caching on that tool's side — every release through v5.0.3 is published normally on main.