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