Skip to content

Releases: brunosabot/streamline-card

v0.0.19

27 Nov 19:19
6a7acfa
Compare
Choose a tag to compare

Streamline Card v0.0.19

Hello there!

This release handle a better way the deprecation for getLayoutOptions.
Now cards with only a getLayoutOptions method with no getGridOptions method are correctly supported back

Full Changelog: v0.0.18...v0.0.19

Let me know if you encounter any issue!

-- Bruno

v0.0.18

23 Nov 18:20
0aff838
Compare
Choose a tag to compare

Streamline Card v0.0.18

Hello there!

🔴 This release is a breaking change for UI users. yaml users won't be impacted.

The editor wasn't handling rightfully empty states over states with an empty string, making the usage of default values impossible.

This is caused by how Home Assistant editor works: empty string and non existant keys are the same, while it's not the case for Streamline card: empty string is an actual possible value (that will often fallback to internal cards behavior, such as using the friend_name if name is empty) while non existant means that you should use the default.

If you still want to be able to have empty string, you should use it in the default field

Before:

streamline_cards:
  my_template:
    card:
      # ...
      name: ''

After:

streamline_cards:
  my_template:
    default:
      name: ''
    card:
      # ...

Full Changelog: v0.0.17...v0.0.18

Let me know if you encounter any issue!

-- Bruno

v0.0.17

23 Nov 16:59
d3a7db1
Compare
Choose a tag to compare

Streamline Card v0.0.17

Hello there!

This release supports the new getGridOptions that replaces the previous getLayoutOptions.

Full Changelog: v0.0.16...v0.0.17

Let me know if you encounter any issue!

-- Bruno

v0.0.16

23 Nov 16:31
5aca2d4
Compare
Choose a tag to compare

Streamline Card v0.0.16

Hello there!

This release fixes an latency issue with some cards such as mini-graph-card

Full Changelog: v0.0.15...v0.0.16

Let me know if you encounter any issue!

-- Bruno

v0.0.15

07 Nov 16:36
f36bb14
Compare
Choose a tag to compare

Streamline Card v0.0.15

Hello there!

This release fixes an error with UI dashboards and HASS 2024.11 release.

Full Changelog: v0.0.14...v0.0.15

Let me know if you encounter any issue!

-- Bruno

v0.0.14

28 Oct 09:02
dc3c156
Compare
Choose a tag to compare

Streamline Card v0.0.14

Hello there!

This release gives you a new feature: you can now access variables from inside the JavaScript templates.

Example:

streamline_templates:
  bubble_counter:
    card:
      card_type: button
      button_type: name
      name_javascript: "variables.counter > 10 ? '10+' : variables.counter"
      type: "custom:bubble-card"

Full Changelog: v0.0.13...v0.0.14

Let me know if you encounter any issue!

-- Bruno

v0.0.13

30 Sep 07:08
a681a15
Compare
Choose a tag to compare

Streamline Card v0.0.13

Hello there!

This release is a maintenance release to fix a bug on JavaScript template detection.

Full Changelog: v0.0.12...v0.0.13

Let me know if you encounter any issue!

-- Bruno

v0.0.12

29 Sep 07:38
f6254a2
Compare
Choose a tag to compare

Streamline Card v0.0.12

Hello there!

This release is a maintenance release to improve performances with streamline card : the execution of streamline card could be up to 30 times faster!
It also fixes a bug with some custom card particular behaviors.

Full Changelog: v0.0.11...v0.0.12

Let me know if you encounter any issue!

-- Bruno

v0.0.11

25 Sep 11:52
5ed79aa
Compare
Choose a tag to compare

Streamline Card v0.0.11

Hello there!

This release is a maintenance release to address a bug on the visibility when put on parent and child.
The browser will crash because of an infinite loop.

With this template:

streamline_templates:
  bubble_light:
    card:
      card_type: button
      name: "[[entity]]"
      type: "custom:bubble-card"
  visibility:
    - condition: state
      entity: '[[entity]]'
      state: 'on'

And the following usage:

type: custom:streamline-card
template: bubble_light
variables:
  entity: light.all_office
visibility:
  - condition: state
    entity: light.all_office
    state: 'on'

You no longer go in an update loop.

Full Changelog: v0.0.10...v0.0.11

Let me know if you encounter any issue!

-- Bruno

v0.0.10

22 Sep 06:59
70f590e
Compare
Choose a tag to compare

Streamline Card v0.0.10

Hello there!

This release is a maintenance release to address a bug on the variables. Since you can have default values, the variables key used in the templates should not be mandatory.

With this template:

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

The following usage should be valid:

type: custom:streamline-card
template: bubble_separator

Full Changelog: v0.0.9...v0.0.10

Let me know if you encounter any issue!

-- Bruno