Repository navigation
Releases
Releases · arboeh/slABton
v1.1.0
Added
- Covers:
entity: cover.living_roomis 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)
callscover.set_cover_position, a tapcover.toggle(open_cover/close_coverwhen only one is supported,
more-info when neither), a holdcover.stop_cover. Actions followsupported_features; your owntap_action/
hold_actionwin. While the cover travels (opening/closing) the handle follows the position live; with
animation: pulsethe 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 withoutcurrent_positionshows 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 ofbar.entity), for examplecurrent_positionof
a cover orcurrent_temperatureof a climate entity. Unit frombar.unit, else the entity. Range from
bar.min/bar.max, elsemin_temp/max_temp, elsemin/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.attributethe scale labels instatemode show the number range instead of the state names. - A cover without
mode:now runs in thevaluemode (before:state). A cover config withstates,bar.entity
orbar.attributeand nomode:keeps thestatemode and behaves as before; so does every cover with an explicit
mode:. - With
bar.attributein thestatemode 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_modheights (for exampleha-card { height: ... }) andgrid_options: rows:from dashboards that set them:
a fixed height cuts off content that grows. Agrid_options:in the card config still overrides each key. Checked
with Home Assistant 2026.11.2; the first release that acceptsrows: "auto"is not known. - Card: new internal class
blockedcarries the gesture lock (touch action, cursor);unavailableonly 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 emptybar: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
lengthwider than the card is cut off at the card edge instead of overflowing. The bug was already in 1.0.0.
v1.0.0
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_coloron 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 oneh1; 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.