Skip to content

NavBar card v0.6.0

Compare
Choose a tag to compare
@joseluis9595 joseluis9595 released this 05 Apr 19:45
· 9 commits to main since this release
7c609a2

New open-popup action

⚠️⚠️⚠️ Warning! This release contains breaking changes for existing popup configurations.

This release introduces a new action in lovelace-navbar-card, that allows the user to manually trigger the opening of a configured popup instead of automatically opening it when tapping a route.

This also comes with a minor breaking change, where submenu configuration for routes, has been renamed to popup. To open these popups, you now need to use the open-popup action in either the tap_action or hold_action.

Migration should be quite simple though:

# Old configuration
- icon: mdi:dots-horizontal
  submenu:
    - icon: mdi:cog
      url: /config/dashboard

# New configuration
- icon: mdi:dots-horizontal
  tap_action:
    action: open-popup           # add the custom `open-popup` action to open the popup
  popup:                         # change `submenu` to `popup`
    - icon: mdi:cog
      url: /config/dashboard



All changes in this release

  • New custom action open-popup to manually open popups. (closes #36 )
  • Deprecate submenu option in favor of popup.
  • Slightly improved hold_action detection.

Full Changelog: v0.5.1...v0.6.0