Templates support
Using navbar-card just got a lot easier! You can now create templates, and reference them from each navbar-card you add to your dashboard, making it easier to apply modifications to all instances.
How It Works:
In your main Lovelace YAML configuration, under navbar-templates, add your custom template, using any of the card options:
navbar-templates:
your_template_name:
# Your navbar config
routes:
- label: Home
icon: mdi:home
url: /lovelace/home
...
# Your normal lovelace configuration
views:
...
Then, from your dashboard, reference that newly created template:
type: custom:navbard-card
template: your_template_name
For more information, check out the templates section in the docs.
Changes in this release
Features
- New
template
parameter
Full Changelog: v0.0.7...v0.1.0