Releases: brunosabot/streamline-card
v0.0.19
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
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
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
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
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
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
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
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
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
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