Releases: custom-cards/decluttering-card
Releases · custom-cards/decluttering-card
0.4.0
0.3.0
0.2.0
BREAKING CHANGES
- To support default values, I had to change the template format. It has to be defined like this now:
Instead of
decluttering_templates: <template_name> card: <card_config>
decluttering_templates: <template_name> <card_config>
NEW FEATURES
- Add support for default values (this is optional). If no value is provided for a variable in the actual card, then the default value for that variable will be used (if any). (Fixes #1)
<template_name> default: - variable: default_value - variable2: default_value2 [...]
- Add support for variables values which are not string (objects, numbers and booleans). Previously they were all converted to string.