Skip to content

v1.1.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@imonlinux imonlinux released this 03 Sep 01:01

Visual editor rewrite

The editor card introduced in beta.1 never rendered (a Lit integration bug) - this is a full rewrite, no longer depending on HA internals:

  • Plain DOM + HA's globally-registered custom elements, with native fallbacks if those disappear
  • Full config coverage: every option is now editable at the root and in group/view sub-configs, including background, opacity, transparent panel, refresh behaviour and user/device access lists (less-common fields under "More options")
  • Saves merge over your existing config, so hand-written keys the editor does not know about survive a round-trip
  • Group/None assignments now work on views without a path
  • Save failures are reported (saveConfig is awaited), and a successful save redraws the background immediately - including overlay-only changes
  • Generated YAML now includes the animated_background: root key, ready to paste
  • Clear handling for non-admin users, YAML-mode dashboards, and auto-generated (strategy) dashboards
  • Copy YAML works on plain-HTTP (non-secure) installs

Bug fix

  • refresh_interval and refresh_on_update set at the root now apply to group-driven views (previously the timer silently never started for them)

Docs

  • README restructured: the visual editor is now documented first, including the take-control step for brand-new dashboards; the undocumented background option is now in the reference table

Testing: after updating, delete the sibling .gz copy of the old file in /config/www/community/lovelace-animated-background/ (HACS keeps serving the stale compressed copy otherwise), then hard-refresh your browser (Ctrl/Cmd+Shift+R).