Skip to content

NavBar card v0.8.0

Compare
Choose a tag to compare
@joseluis9595 joseluis9595 released this 18 May 18:49
· 5 commits to main since this release
0fc9950

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 items
  • routes_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:
  ...



All changes in this release

  • New toggle-menu config option (@dpeter99)
  • More options for show_labels config (closes #46 )