Skip to content

v0.0.9

Compare
Choose a tag to compare
@brunosabot brunosabot released this 21 Sep 07:13
· 35 commits to main since this release
5bb311c

Streamline Card v0.0.9

Hello there!

If you get confused with the array variables, I got you covered!
Streamline card is no able to handle objects for default and variables keys, while still supporting the array notation!


Templates Before

streamline_templates:
  bubble_separator:
    default:
      - name: "Room"
    card:
      card_type: separator
      icon: "[[icon]]"
      name: "[[name]]"
      type: "custom:bubble-card"

Templates After

streamline_templates:
  bubble_separator:
    default:
      name: "Room"
    card:
      card_type: separator
      icon: "[[icon]]"
      name: "[[name]]"
      type: "custom:bubble-card"

Usage Before

type: custom:streamline-card
template: bubble_separator
variables:
  - name: Actions
  - icon: mdi:button-pointer

Usage After

type: custom:streamline-card
template: bubble_separator
variables:
  name: Actions
  icon: mdi:button-pointer

Full Changelog: v0.0.8...v0.0.9

Let me know if you encounter any issue!

-- Bruno