Is it possible to get the header icons into two rows? I start to have so many tabs in my HA instance and on mobile it is not fun to scroll the header so I was wondering if it would be possible to have two rows?
mayker
(maykar (pronounced "maker" with a southern accent))
966
No, the best solution to this issue is to use multiple dashboards.
Hello, almost a thousand posts⌠may I be so rude to just ask a few questions? I canât get it workingâŚ
I want to limit some users some tabs and some âleft menu itemsâ added via panel_iframe.yaml.
What I donât get:
When I log in as a âuserâ and I open in lovelace the custom header section and I want to hide a tab, give the tab name and press âsave and reloadâ nothing happens.
Do I need to login per user and configure all custom header sections individually?
how can I hide left pane menu items added via panel_iframe.yaml and others?
Thank you.
mayker
(maykar (pronounced "maker" with a southern accent))
968
Are you trying to hide a tab/view or a dashboard?
No everything can be set up from one user.
Custom Header doesnât hide items from the sidebar. Custom Sidebar does this, but I didnât make it.
A view I think it is called, I menad the tab in a lovelace dashboard.
But the other question goes about the left menu items (which can be a lovelace dashboard link).
So please answer for both.
But can everything be setup from 1 user, differently per user?
so my son and daughter have a different layout then my wife? and me?
Will look into this, thank you.
mayker
(maykar (pronounced "maker" with a southern accent))
970
Your config would be setup once, not per user.
I would suggest checking out the docs, especially the section on exceptions. The examples are all in YAML, but this can all be setup using the Custom Header settings UI.
But this is what I am struggling with⌠I am not a coding expert but would really like to hide some tabs/links for user A and some for user BâŚ
mayker
(maykar (pronounced "maker" with a southern accent))
973
In custom header settings you add a new âexceptionâ and under conditions fill out the user condition with the Userâs name (not username, as mentioned in the readme). At the very bottom of the settings it shows you the current logged in userâs name. Then setup their config below, like hide tabs (which can be the tabâs index number, title, path, or a comma separated list of tabs). I cannot see what your config is or know exactly what you are doing to really give much more support than that.
You could even copy and paste the examples from the readme into your âraw configâ (found after entering âconfigure uiâ) and modify it to meet your needs.
Ok, got the first user hidden some tabs⌠thank you!
What about a tab with the name âOZW Network Mapâ, this does not hide (due to the spaces)?
mayker
(maykar (pronounced "maker" with a southern accent))
975
Yeah thatâs a bug, until itâs fixed you can either use that tabs index number (start counting tabs from zero) or give it a âpathâ of something simple and use that.
like that? Or should I have a dedicated section in the original (which not is in the ui-lovelace.yaml of course), and add to that?
Maybe this is not possible at all? Didnât find anything on dashboard in the documentation, but that could be my faultâŚ
thanks for having a look!
mayker
(maykar (pronounced "maker" with a southern accent))
978
Yup, thatâs how I would do it. Have a separate config for each dashboard, otherwise it could get confusing. If you really wanted to, each dashboard could link to the same include file that way it would avoid redundancies, but if you have any config that uses tab indexs or have tabs that share names between the two dashboards, etc. it could get messy.
the above is working nicely, almost 100%. So thanks! switching between dashboards sometimes flukes, I think it has to do with the naming of the views, which in 1 dashboard eg is Notify, and in the other Notify_settings. Seems it sometimes picks the wrong one. Must experiment further (but will rename the views to be as unique as possible in the meantime, as to be sure thatâs not causing it)
other issue:
made an exception where I do want to show the options field, and a templated one at that. I dont want the options options to appear though, so this is what I got:
- conditions:
user: Gezin
config:
show_tabs: 0 to 3, 5, 11 to 13, 15 to 17
voice_hide: true
hide_refresh: true
hide_reload_resources: true
hide_help: true
# options_hide: true
in the main config, the options is set to show and use the template.
Is this configured incorrectly ? I ask because it keeps giving me the âHerlaad bronnenâ in Dutch, which is âReload resourcesâ. cleared cache few times, reloaded, refreshed, eaâŚ
Hi all, silly question maybe
Is it possible to have ânavigate toâ functionality instead of âvoiceâ button
for example to return from any view to the preset view.