Skip to content

4.7.9 - Material Expressive Buttons

Choose a tag to compare

@Nerwyn Nerwyn released this 26 Dec 08:17
· 22 commits to main since this release

Changes in 4.7.9

  • Update ha-nunjucks to 1.7.0.

Material Expressive Buttons

image

This release includes new Material Design 3 variants for buttons and selectors as defined by the Material Design 3 specification. Similar to the existing Material Design 3 variants of the slider and toggle, they work best with Material You Theme and Utilities but should work with any theme.

Most Material Design 3 buttons also include toggle button styles which can be enabled to change the buttons appearance depending on if the feature state is off or on. Note that this does not use the advanced logic and options of an actual toggle feature and is purely cosmetic.

Custom Features Card Style Options

Custom features card (not rows in another card, the standalone features card) gains a couple of new convenience style features. You can now set the feature height using a dedicated input. You can also set the card to be transparent, which removes virtually all styles from the card. While you could do both of these things before using CSS styles, by making these two style options more prominent I hope to encourage users to use custom features as independent cards.

Other Changes

  • Update ha-nunjucks to 1.6.1.
  • Material Design 3 slider animation fixes.

Patch Version Fixes

  • Fix numeric value precision in input number feature.
  • Autofill feature icon and units using entity attributes #165.
  • Fix input range autofill in editor.
  • Add datetime entity default actions.
  • Add step fields to date, time, datetime, month, and week input types.
  • Add input validation for different input types, as most input element types do not have any by themselves.
  • Transparent button variant for use as a templatable feature #167.
  • Update ha-nunjucks to 1.6.2.
  • Fix Material Design 3 button and selector color transition and border radii.
  • Make entire parent feature stateObj and context fields available as stateObj for templating #180.
  • Use HA card helpers for confirmations.
  • Do not apply numeric precision to empty strings #179.
  • Do not autofill entity ID if user has set action target to string for templating.
  • Fix input feature display when value is empty string or whitespace #179.
  • Improve editor target is string check.
  • Update ha-nunjucks to 1.7.0.

Full Changelog: 4.6.11...4.7.9