v4.3.0
Fixed
- Failed switch/valve service call left the card permanently stuck showing "opening…/closing…" for the full toggle_lock_ms even though nothing happened. Now caught and the state resets immediately.
- An unavailable switch_entity (or one that never existed) rendered as a plain CLOSED state, which is misleading for a shut-off valve. Now shown as a distinct Unavailable state with the action button disabled.
Changed
- The valve now toggles only via the action button — tapping elsewhere on the card body no longer does anything.
- A leak-sensor block is shown whenever its
*_leak_entityis set, regardless of the label.*_labelnow only controls whether the name text is shown. - With
auto_toggle_duration: true, the measured actuator time now fully replaces the manually configuredtoggle_lock_msonce a measurement exists.
Improved
- The water animation now pauses when the browser tab is hidden or the card scrolls off-screen (
visibilitychange+IntersectionObserver), reducing CPU/battery use on always-on dashboard panels.
See the README changelog for full details.