v5.0.5
Fixed
- Battery/signal indicators in the header are now pinned to the card's right edge via CSS grid instead of flex
space-between, which could drift depending on the length of the state text (ВІДКРИТО / ЗАКРИТО / ВІДКРИВАЄТЬСЯ / ЗАКРИВАЄТЬСЯ). The state-label and name are now always single-line (ellipsis on overflow). - The valve/pipe graphic and buttons no longer shift position when the state text changes during a toggle. The status text now always reserves 2 lines of height, and the "closed at" timestamp is hidden via
visibilityinstead ofdisplay:none, so it keeps its layout slot even when blank. - Leak-sensor blocks with 3 or 4 sensors configured (2 stacked rows) no longer render as oversized squares with tiny icons/text on wide tablet/desktop cards. Scoped strictly to 3-/4-sensor configs — the verified 2-sensor layout is untouched: blocks cap their size on phones and switch to horizontal rectangles on tablet/desktop, and the icon/text inside scale up to match the block size instead of staying capped at a small fixed max.
Added
- Real switching-time measurement. The card now times how long the actual
switch_entity/valve_state_entitytakes to confirm each open/close after a toggle (separately per direction) and remembers it. The editor shows this measured value directly under the manual "Toggle animation time" field, with a recommendation to set that field to at least the measured value — setting it lower is what caused the valve animation to visually reach its end position and then snap back briefly before the real state caught up.
See README changelog for full details.