NavBar card v0.8.0
This new release of navbar-card
brings two new features.
New custom action toggle-menu
@dpeter99 contribution allows users to now toggle the native HA side menu directly from navbar-card. To do so, use the new custom toggle-menu
action on your route configuration.
type: custom:navbar-card
...
routes:
...
- url: /lovelace/lights
icon: mdi:lightbulb-outline
tap_action:
action: toggle-menu # Will open the native HA side menu
More granular configuration for show_labels
Other small but useful feature, is the ability to better customize when to show or hide labels in navbar-card. Theshow_labels
option has been modified to accept, apart from a boolean, two new values:
popup_only
: to display the labels only in the popup itemsroutes_only
: to not display the labels on popups, and display only in the main navbar-card routes
type: custom:navbar-card
desktop:
show_labels: popup_only
routes:
...