Skip to content

v0.26.0

Choose a tag to compare

@github-actions github-actions released this 27 May 23:08

What's new:

  • Added step controls: attribute-editing sliders and native input_number / number sliders can show optional +/- buttons with configurable button position; attribute editing also supports control: stepper, which renders - value + without a slider.
  • Added number box for attribute editing: control: number renders a numeric input and sends the value when the field is committed.
  • Added text box for attribute editing: control: text renders a text input and sends the value when the field is committed.
  • Added select control for attribute editing: control: select can render dropdown options from a configured attribute path (for example source_list) and call the configured service/field with the selected value.
  • Added select buttons for attribute editing: control: buttons uses the same options/service/field setup as select, but renders short option lists as buttons.
  • Added REL_SHORT_AGO token, using the same precise duration as REL_SHORT while adding the localized past/future direction.
  • Added REL_SHORT_ROUNDED and REL_SHORT_AGO_ROUNDED tokens for rounded one-unit relative times, e.g. values over 60 seconds are shown in minutes instead of appending seconds.
  • Added AMPM and ampm tokens for 12-hour time formats.
  • Improved relative time tokens by treating values within 2 seconds of the current time as now, avoiding brief clock-skew jumps such as 1s → now → 1s.

Full Changelog: v0.25.0...v0.26.0