Skip to content

Releases

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 10:24

Added

  • Covers: entity: cover.living_room is enough. The bar shows the position (current_position, 0 = closed, 100 = open,
    the fill is how far the cover is open, unit %, no decimals). Releasing the handle (or an arrow key, 1 % per press)
    calls cover.set_cover_position, a tap cover.toggle (open_cover / close_cover when only one is supported,
    more-info when neither), a hold cover.stop_cover. Actions follow supported_features; your own tap_action /
    hold_action win. While the cover travels (opening / closing) the handle follows the position live; with
    animation: pulse the bar frame pulses. After your own drag the handle stays on the target until the cover has
    arrived (10 s for the first report, 3 minutes of travel). A cover without current_position shows its state
    (open, closed, opening, closing), a tap toggles, no dragging. The visual editor shows the drag, range,
    step, unit and decimals fields for covers, the demo has two cover examples. Not part of this release: tilt, switches
    at the ends, groups.
  • bar.attribute: the bar shows an attribute of the entity (or of bar.entity), for example current_position of
    a cover or current_temperature of a climate entity. Unit from bar.unit, else the entity. Range from
    bar.min / bar.max, else min_temp / max_temp, else min / max, else 0 to 100. The bar is read-only. A
    missing or non-numeric attribute shows the warning icon with the reason (EN, DE) and does not block the actions.
    Visual editor field "Attribute for the bar value", demo example "Value from an attribute".

Changed

  • With bar.attribute the scale labels in state mode show the number range instead of the state names.
  • A cover without mode: now runs in the value mode (before: state). A cover config with states, bar.entity
    or bar.attribute and no mode: keeps the state mode and behaves as before; so does every cover with an explicit
    mode:.
  • With bar.attribute in the state mode the handle sits on the measured value and cannot be dragged (a drag would
    have picked a state elsewhere). The scale and the fill edge follow the handle track like in every mode.
  • Scale, fill edge and labels sit on the handle track in every mode (state, lock, value, counter, timer, clock). The
    tick of a value stands under the handle centre at that value, and the fill ends there. The value, counter, timer
    and clock modes no longer span the whole bar (1.0.0). The first and last label are centred on their tick, no longer
    flush with the bar ends.
  • Sections view: the height comes from the content (rows: "auto"); width unchanged (6 columns, vertical 3). Remove
    card_mod heights (for example ha-card { height: ... }) and grid_options: rows: from dashboards that set them:
    a fixed height cuts off content that grows. A grid_options: in the card config still overrides each key. Checked
    with Home Assistant 2026.11.2; the first release that accepts rows: "auto" is not known.
  • Card: new internal class blocked carries the gesture lock (touch action, cursor); unavailable only drives icon,
    title and opacity.

Fixed

  • Lock mode with a bar value: the swipe threshold starts from the lock position, no longer from the measured bar value.
  • Visual editor: clearing the "Attribute" field no longer leaves bar: attribute: "" or an empty bar: map in the YAML.
  • Scale and fill edge: the ticks at 0 and 100 were offset from the handle centre (24 px with the default handle, 9 to 10 px
    on thin bars, 36 px for an oval handle); they now sit on it. Labels at the bar ends are no longer cut off by the bar (a label that reaches more than 18 px past the bar end, for example a long name on a very small handle, is clipped).
  • Sections view: no empty space under the content of a card (fixed rows are gone).
  • Cards no longer make the page wider than the screen: on a phone the view could be dragged sideways with empty
    space on the right (the invisible handle carrier reached past the bar). The stage now clips along the bar axis
    only; the handle overhang, the cross axis and the glow of an expired timer (18 px margin) stay visible. A fixed
    length wider than the card is cut off at the card edge instead of overflowing. The bug was already in 1.0.0.

v1.0.0

Choose a tag to compare

@arboeh arboeh released this 17 Nov 19:49

First stable release. The configuration options of 0.x stay valid.

Changed

  • Scale in the modes value, counter, timer and clock spans the whole bar: tick 0 at the start, the last tick at the
    end, every tick on the fill edge of its value. The first and last label are flush with the bar ends. State and lock
    keep the handle track, so labels and ticks stay under the handle positions.

Added

  • Docs (EN, DE): screenshot for bar_state_color on the appearance page; the start page shows the slABton wordmark.
  • README and docs start page: release and coverage (Codecov) badges, the static "HACS Custom" badge is gone; the AB logo in the READMEs is left-aligned. The "Open in HACS" button moved into the Installation sections (READMEs and docs).
  • Promo video (about 15 s, English captions): animated GIF in the READMEs, MP4 / WebM on the docs start pages; sources in scripts/promo/.

Fixed

  • Scale ticks in value, counter, timer and clock sat half a handle inside the bar and missed the fill edge, except with
    handle_overhang.
  • Docs site, live demo: a failed load of the icon file no longer ends in an unhandled promise rejection (icons stay
    empty); fast clicks on "Copy YAML" no longer reset the button label too early; the page has one h1; the hint text
    reaches the contrast ratio of 4.5:1 (about 6.4:1 in the light theme); the demo follows the dark / light switch of the
    docs site (?theme= still wins).
  • Docs: the dark AB logo uses the same orange (#d35400) as the light logo and the wordmarks.