Lovelace UI - Ability to hide Views

The ability to hide a view from the top navigation bar, that is it is only accessible using the 'lovelace/${id}"

Example Lovelace config:

  • title: View Title
    icon: mdi:secret-stuff
    hidden: true
    id: secretstuff
    cards:

Please vote should you also like to see the functionality.

I see no responce to this request to date? Is it possible with some workaround?

I was just here trying to figure out how to hide views and realized that the compact-custom-header card offers some appropriate functionality via it’s exceptions, and hidden tab redirect options. Untested, but I’m about to.

CCH works pretty damn well, it has more features like a swipe navigation for mobile devices. Haven’t tried the hide views though. But without CCH, the only thing I know is that you can “hide” a view by defining a non-existant icon, this will make the view not show up. The empty space is however clickable.

CCH has the ability to hide views for certain users and or browser user agents.

Edit: I have just tested this and it works just the way as the OP asked. Just make sure you use the following in your setup:

# Start of Example Config
type: custom:compact-custom-header
main_config: true
# choose hide or show (don't use both)
hide_tabs: # tab numbers here (the first view is number 1, second number 2 etc)
# or
show_tabs: # tab numbers here (same as above)
redirect: false # this is important as this will make sure it will not redirect you back to a view that is not hidden.
# End of Example Config

# Real World Example
      - type: custom:compact-custom-header
        main_config: true
        hide_tabs: 1,4
        redirect: false
        header: true
        swipe: true
        swipe_wrap: false
        default_tab: 2

Good luck!

there you go… the “redirect: false” does the trick!

This is implemented