Skip to content

0.2.0

Compare
Choose a tag to compare
@RomRider RomRider released this 08 Jun 12:32
· 35 commits to master since this release
9778a49

BREAKING CHANGES

  • To support default values, I had to change the template format. It has to be defined like this now:
    decluttering_templates:
      <template_name>
        card:
          <card_config>
    Instead of
    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.