Fixed
- The valve/pipe graphic is now
position: absolute, centered on the card's own box plus the configured vertical-offset slider, completely independent of every other element on the card. Previously it was a flexible flow item, so its on-screen position was the sum of everything around it (header height, whether the "closed at" line was showing, how many leak sensors were configured) — any of which could visibly move the valve. Now nothing but the offset slider can move it.
Changed
- Adding a 3rd/4th leak sensor no longer shrinks or pushes up the pipe to make room for the second sensor row. The sensor rows and the action button are grouped and pinned to the card's bottom edge on their own; on a short card they're free to overlap onto the pipe graphic instead of squeezing it.
- The "closed at HH:MM" text (only shown when the valve is closed) has moved from under the header to directly above the toggle button, centered.
- Switching-time measurement (added in v5.0.5) now keeps only the running maximum ever measured per direction — a slow run can no longer be undercut by a later faster one.
Added
- An "auto-apply the measured maximum" checkbox next to the measured-time note in the editor — keeps the manual animation-time field in sync with the measured maximum automatically.
- A "Test toggle (measure now)" button in the editor — toggles the real entity and measures the transition time right from the config screen.
See README changelog for full details.